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

Fix computing hostname hash on SunOS #462

Closed
wants to merge 1 commit into from
Closed

Fix computing hostname hash on SunOS #462

wants to merge 1 commit into from

Conversation

Rycieos
Copy link
Collaborator

@Rycieos Rycieos commented Jul 19, 2016

Fix for #461

As noted in the issue, cut -d " " -f 1 does not work universally, since cksum does not have the same delimiting character on all OS's. awk '{print $1}' works universally, since it splits on any type of white-space.

@dolmen dolmen added bug hostname Related to the hostname lookup or display needs work Needs changes before merge is possible labels Jul 20, 2016
On SunOS, cksum use tab as delimiter instead of space as on other
platforms.
Fix for #461
@Rycieos
Copy link
Collaborator Author

Rycieos commented Oct 31, 2016

Closing since the pull request was merged.

@Rycieos Rycieos closed this Oct 31, 2016
@Rycieos Rycieos deleted the hostname-hash-fix branch October 31, 2016 15:16
@dolmen dolmen added merged! and removed needs work Needs changes before merge is possible labels Oct 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug hostname Related to the hostname lookup or display
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants