Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2016-03-17 18:41:36 +0300
committermboelen <michael@cisofy.com>2016-03-17 18:41:36 +0300
commit5afbe1a994b623efb451e018dbd5079fac8c8252 (patch)
tree582333af8716b58e56ffd31ce23d8c8bc0b3870e
parenta33b3c828fc17685c2faa90f14928777c76d193c (diff)
Removed temporary testing of empty hostname
-rwxr-xr-xlynis3
1 files changed, 1 insertions, 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