Removed temporary testing of empty hostname

This commit is contained in:
mboelen 2016-03-17 16:41:36 +01:00
parent a33b3c828f
commit 5afbe1a994
1 changed files with 1 additions and 2 deletions

3
lynis
View File

@ -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