From 048c6a97f910e0dc1401015065cf56ff9bc86e19 Mon Sep 17 00:00:00 2001 From: madduck Date: Mon, 2 Jul 2007 16:26:50 +0000 Subject: [PATCH 1/1] * Pass --short option to hostname to prevent the user from having to type the whole FQDN at times (closes: #431205). --- shutdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shutdown b/shutdown index 46aa45f..2489827 100755 --- a/shutdown +++ b/shutdown @@ -108,7 +108,7 @@ case "$CMD $ARGS" in ;; esac -HOSTNAME="$(hostname)" +HOSTNAME="$(hostname --short)" sigh() { -- 2.39.2