summaryrefslogtreecommitdiffstats
path: root/etc/munin/plugins/jenkins_builds_results
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-02 19:34:42 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-02 19:34:42 +0100
commit997b2cbabb1978aa3762ae1557fe29c3780da72f (patch)
tree6b465b72c134c9a3fc19b00279b0d0743258efc0 /etc/munin/plugins/jenkins_builds_results
parent1e221a2be5d85579166365828a1368d569d23d90 (diff)
downloadjenkins.debian.net-997b2cbabb1978aa3762ae1557fe29c3780da72f.tar.xz
make cd-tests more robust
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 e7661724..76b64bf0 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