From 5afbe1a994b623efb451e018dbd5079fac8c8252 Mon Sep 17 00:00:00 2001 From: mboelen Date: Thu, 17 Mar 2016 16:41:36 +0100 Subject: Removed temporary testing of empty hostname --- lynis | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- cgit v1.2.3