Show warning for writable configuration file

This commit is contained in:
mboelen 2015-12-22 16:01:30 +01:00
parent 6520400ca4
commit ae6ca56581
1 changed files with 1 additions and 3 deletions

View File

@ -450,11 +450,9 @@ wait_for_keypress
if [ -f ${FILE} ]; then if [ -f ${FILE} ]; then
LogText "Result: found ${FILE}" LogText "Result: found ${FILE}"
if IsWorldWritable ${FILE}; then if IsWorldWritable ${FILE}; then
echo $? ReportWarning "${TEST_NO}" "Found world writable configuration file"
echo "File ${FILE} is writable!!!!"
fi fi
Report "ntp_config_file[]=${FILE}" Report "ntp_config_file[]=${FILE}"
fi fi
done done
fi fi