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)