change where hostname is read.

This commit is contained in:
tumpura authored and GitHub committed 2020-08-18 22:12:34 +03:00
1 parent 3df3b25355
commit b89c509aca
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"