Merge pull request #12 from tumpura/master

change where hostname is read.
This commit is contained in:
gk authored and GitHub committed 2020-08-19 05:18:19 +10:00
commit acec5ad4c5
1 file changed
+1 -1
+1 -1
View File
@@ -105,7 +105,7 @@ print() {
echo
read -r host < /etc/hostname
read -r host < /proc/sys/kernel/hostname
printf '%7s@%s\n' "$USER" "$host"
print os "$ID"