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 <<EOF
Datoteka $BACULACRT nije dostupna ili je korisnik 'bacula' ne može otvoriti!