Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portability: use uname -n instead of hostname. #6194

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

ghen2
Copy link
Contributor

@ghen2 ghen2 commented Jan 10, 2025

hostname is not available by default on some modern Linux distributions (eg. Arch Linux), whereas uname -n is defined by POSIX, so guaranteed.

`hostname` is not available by default on some modern Linux distributions
(eg. Arch Linux), whereas `uname -n` is defined by POSIX, so guaranteed.
@Neilpang Neilpang merged commit 6313020 into acmesh-official:dev Jan 10, 2025
32 checks passed
@ghen2 ghen2 deleted the hostname branch January 10, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants