X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=bacula-check-cert;h=3ada58cc45102a4078425f94efd30b6f5d00e6b7;hb=refs%2Ftags%2Fdebian%2F20210226%2Bcn9u4;hp=2dc908c12a4aa9a3b44f46dd66267335bc09b2a7;hpb=b57300acec64395ee4a1b01ff475685b8f44a140;p=bacula-cn.git diff --git a/bacula-check-cert b/bacula-check-cert index 2dc908c..3ada58c 100755 --- a/bacula-check-cert +++ b/bacula-check-cert @@ -3,7 +3,7 @@ BACULACRT=/etc/bacula/bacula-fd.pem DAYS=$(expr 30 \* 86400) -if [ ! -f $BACULACRT ]; then +if [ ! -r $BACULACRT ]; then mailx -s "BACULA: Ne mogu otvoriti datoteku $BACULACRT!" -a 'Content-Type: text/plain; charset="utf-8"' root <