summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--check-kernel.in4
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