[project @ peter@palfrader.org-20081223225922-qe3i8wk38mnqkuoc]
[mirror/dsa-nagios.git] / dsa-nagios-nrpe-config / dsa-update-apt-status
index a6b5b8a..d4a6f2d 100755 (executable)
@@ -23,7 +23,7 @@ run_required() {
        local last_mod
        last_mod=`stat -c "%Y" "$STATUS"`
        now=`date +%s`
-       age=$(( "$now" - "$last_mod" ))
+       age=$(( $now - $last_mod ))
        [ "$age" -gt "$MAX_AGE" ] && return $run
 
        return $norun