From 6fa1b684d2d31209a20ba2ecfc07d66bd8cb9d38 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 1 Jan 2021 20:17:50 +0100 Subject: hostname -> uname -n --- check-kernel.in | 4 ++-- 1 file 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 -- cgit v1.2.3-54-g00ecf