diff --git a/include/tests_authentication b/include/tests_authentication index 3e3f3cb0..3cd2ff91 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -169,12 +169,12 @@ logtext "Result: found no shell on line" else logtext "Result: found possible harmful shell ${J}" - ReportSuggestion ${TEST_NO} "Determine if account is needed, as shell ${J} does not exist" if [ -f ${J} ]; then logtext "Result: shell ${J} does exist" FOUND=1 else logtext "Result: shell ${J} does not exist" + ReportSuggestion ${TEST_NO} "Determine if account is needed, as shell ${J} does not exist" fi fi done