Update tests_kernel (#185)

Error during the process of the FIND variable.
This commit is contained in:
StrangeBubble 2016-05-02 17:35:55 +02:00 committed by Michael Boelen
parent 99236b13f4
commit 3a19887972
1 changed files with 2 additions and 2 deletions

View File

@ -417,9 +417,9 @@
LogText "Test: Checking sysctl value of fs.suid_dumpable"
FIND=`${SYSCTLBINARY} fs.suid_dumpable 2> /dev/null | awk '{ if ($1=="fs.suid_dumpable") { print $3 } }'`
if [ "${FIND}" = "" ]; then
LogText "Result: value ${FIND} found"
else
LogText "Result: sysctl key fs.suid_dumpable not found"
else
LogText "Result: value ${FIND} found"
fi
if [ "${FIND}" = "2" ]; then
LogText "Result: programs can dump core dump, but only readable by root (value 2, for debugging with file protection)"