summaryrefslogtreecommitdiffstats
path: root/etc/munin/plugins/jenkins_builds_results
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-03 10:39:01 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-03 10:39:01 +0100
commit03aeb1ab3bf10a8a7359f479b4340e3f22f227b0 (patch)
tree6f46152983ff23478d75e2731ecfa43e10038c00 /etc/munin/plugins/jenkins_builds_results
parente7bbcffded22067011d9b5f5066b8c2c1e691fc0 (diff)
downloadjenkins.debian.net-03aeb1ab3bf10a8a7359f479b4340e3f22f227b0.tar.xz
fix logic
Diffstat (limited to 'etc/munin/plugins/jenkins_builds_results')
-rwxr-xr-xetc/munin/plugins/jenkins_builds_results2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/munin/plugins/jenkins_builds_results b/etc/munin/plugins/jenkins_builds_results
index 76b64bf0..e7661724 100755
--- a/etc/munin/plugins/jenkins_builds_results
+++ b/etc/munin/plugins/jenkins_builds_results
@@ -32,7 +32,7 @@ fi
STATEFILE=$MUNIN_PLUGSTATE/$(basename $0)
# delete statefile if it's older than $update_interval set in /etc/munin/plugin-conf.d/jenkins
-if test $(find $STATEFILE ! -mmin +$update_interval) ; then
+if test $(find $STATEFILE -mmin +$update_interval) ; then
rm -f $STATEFILE
fi