From 5a9cc155bd1381c190181cf4888d7e69d025d4c8 Mon Sep 17 00:00:00 2001 From: tom Date: Wed, 1 Sep 2021 22:12:43 +0200 Subject: [PATCH] manage incexec dir in clientconfdir --- check_burp_age.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_burp_age.sh b/check_burp_age.sh index 82a9e55..60107b7 100755 --- a/check_burp_age.sh +++ b/check_burp_age.sh @@ -25,8 +25,8 @@ function mail_error { } for file in $clientconfdir/* ; do - if ( ! grep -q warn $file ) ; then continue ; fi if [ ! -f $file ] ; then continue ; fi + if ( ! grep -q warn $file ) ; then continue ; fi maxage=$(awk -F= '/warn/{print $2}' $file) mail=$(awk -F= '/mail/{print $2}' $file) userdir=$(awk -F= '/directory/{print $2}' $file)