In this PR, first /etc/hostname is checked and if it does not exist or empty, the hname line will not be printed. (See #16 )
This can avoid IOError and lets some people run nitch out of the box, ~but codes don't look great I admit~. Fixed drawning.nim.
How would you think?
In this PR, first /etc/hostname is checked and if it does not exist or empty, the hname line will not be printed. (See #16 ) This can avoid IOError and lets some people run nitch out of the box, ~but codes don't look great I admit~. Fixed
drawning.nim
. How would you think?