LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File lynis_1.3.0_include-osdetection.diff of Package lynis (Project security)

diff -ENbru lynis-1.3.0/include/osdetection lynis-1.3.0_suse/include/osdetection
--- lynis-1.3.0/include/osdetection     2011-12-25 15:56:38.000000000 +0100
+++ lynis-1.3.0_suse/include/osdetection        2013-01-10 13:22:29.836598135 +0100
@@ -157,7 +157,7 @@
 	  if [ -e "/etc/yellowdog-release" ]; then	OS_FULLNAME=`cat /etc/yellowdog-release`; fi
 
 	  # If Linux version is unknown, use uname value	  
-	  if [ "${OS_FULLNAME}" = "" ]; then OS_FULLNAME=`uname -s -r`; fi
+	  #if [ "${OS_FULLNAME}" = "" ]; then OS_FULLNAME=`uname -s -r`; fi
 	  SYSCTL_READKEY="sysctl -n"
 
 	;;