projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lully on wheezy
[mirror/dsa-nagios.git]
/
dsa-nagios-checks
/
checks
/
dsa-check-file_age
diff --git
a/dsa-nagios-checks/checks/dsa-check-file_age
b/dsa-nagios-checks/checks/dsa-check-file_age
old mode 100644
(file)
new mode 100755
(executable)
index
569504d
..
546e5f2
--- a/
dsa-nagios-checks/checks/dsa-check-file_age
+++ b/
dsa-nagios-checks/checks/dsa-check-file_age
@@
-57,7
+57,7
@@
if [ -z "$FILE" ]; then
usage 3
fi
usage 3
fi
-if [ ! -
r
"$FILE" ]; then
+if [ ! -
e
"$FILE" ]; then
printf "state file %s is missing or unreadable\n" $FILE
exit 2
fi
printf "state file %s is missing or unreadable\n" $FILE
exit 2
fi