manage incexec dir in clientconfdir

This commit is contained in:
tom
2021-09-01 22:12:43 +02:00
committed by Thomas C
parent 04cd9baa6e
commit 5a9cc155bd

View File

@@ -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)