From ae6ca56581b5852d5b828529db06f48f9a189184 Mon Sep 17 00:00:00 2001 From: mboelen Date: Tue, 22 Dec 2015 16:01:30 +0100 Subject: [PATCH] Show warning for writable configuration file --- include/tests_time | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/tests_time b/include/tests_time index 93742236..2b97248f 100644 --- a/include/tests_time +++ b/include/tests_time @@ -450,11 +450,9 @@ wait_for_keypress if [ -f ${FILE} ]; then LogText "Result: found ${FILE}" if IsWorldWritable ${FILE}; then - echo $? - echo "File ${FILE} is writable!!!!" + ReportWarning "${TEST_NO}" "Found world writable configuration file" fi Report "ntp_config_file[]=${FILE}" - fi done fi