dsa-check-mirrorsync: support unix timestamps in tracefile
[mirror/dsa-nagios.git] / dsa-nagios-checks / checks / dsa-check-file_age
index 569504d..546e5f2 100755 (executable)
@@ -57,7 +57,7 @@ if [ -z "$FILE" ]; then
        usage 3
 fi
 
-if [ ! -r "$FILE" ]; then
+if [ ! -e "$FILE" ]; then
        printf "state file %s is missing or unreadable\n" $FILE
        exit 2
 fi