diff options
author | Erich Eckner <git@eckner.net> | 2021-01-01 20:17:50 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-01-01 20:17:50 +0100 |
commit | 6fa1b684d2d31209a20ba2ecfc07d66bd8cb9d38 (patch) | |
tree | 7d08809ed49d23f393fde0a3ce41e1c334ea1c09 | |
parent | eaf371b5831053d510e6cf4edabbdb505734cce5 (diff) | |
download | check-kernel-6fa1b684d2d31209a20ba2ecfc07d66bd8cb9d38.tar.xz |
hostname -> uname -n
-rw-r--r-- | check-kernel.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/check-kernel.in b/check-kernel.in index 619e1e2..9bfb962 100644 --- a/check-kernel.in +++ b/check-kernel.in @@ -159,7 +159,7 @@ else if ${reboot}; then if command -v shutdownasap >/dev/null; then >&2 printf 'Press enter to reboot %s ...' \ - "$(hostname)" + "$(uname -n)" read s if [ -z "${s}" ]; then if command -v screen >/dev/null; then @@ -174,7 +174,7 @@ else exit 1 fi >&2 printf 'Press enter to reboot %s ...' \ - "$(hostname)" + "$(uname -n)" read s if [ -z "${s}" ]; then PATH=$PATH:/usr/bin:/usr/sbin:/bin:/sbin reboot |