diff --git a/lynis b/lynis index 617398b3..c371705c 100755 --- a/lynis +++ b/lynis @@ -473,8 +473,7 @@ Solaris) HOSTNAME=`uname -n` ;; *) - #HOSTNAME=`hostname -s 2> /dev/null` ;; - HOSTNAME=`false` + HOSTNAME=`hostname -s 2> /dev/null` ;; esac FQDN=`hostname 2> /dev/null` if [ "${OS}" = "Linux" -a "${HOSTNAME}" = "${FQDN}" ]; then