From 2bd1b1b590a36ec6888c178ca4d2e517bbf7feca Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 16 Jul 2019 19:05:28 +0200 Subject: [PATCH] Format change --- include/tests_authentication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_authentication b/include/tests_authentication index c931ab77..819dfcc9 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -820,7 +820,7 @@ if [ ${SKIPTEST} -eq 0 ]; then LogText "Test: Checking PASS_MIN_DAYS option in ${ROOTDIR}etc/login.defs" FIND=$(${GREPBINARY} "^PASS_MIN_DAYS" ${ROOTDIR}etc/login.defs | ${AWKBINARY} '{ if ($1=="PASS_MIN_DAYS") { print $2 } }') - if [ "${FIND}" = "" -o "${FIND}" = "0" ]; then + if [ -z "${FIND}" -o "${FIND}" = "0" ]; then LogText "Result: password minimum age is not configured" Display --indent 2 --text "- Checking user password aging (minimum)" --result "${STATUS_DISABLED}" --color YELLOW ReportSuggestion ${TEST_NO} "Configure minimum password age in /etc/login.defs"