From: madduck Date: Mon, 2 Jul 2007 16:26:50 +0000 (+0000) Subject: * Pass --short option to hostname to prevent the user from having to type X-Git-Tag: 0.3.1~2 X-Git-Url: https://git.madduck.net/code/molly-guard.git/commitdiff_plain/048c6a97f910e0dc1401015065cf56ff9bc86e19?ds=inline * Pass --short option to hostname to prevent the user from having to type the whole FQDN at times (closes: #431205). --- 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() {