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
path: root/lynis
diff options
context:
space:
mode:
Diffstat (limited to 'lynis')
-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