summaryrefslogtreecommitdiffstats
path: root/etc/munin/plugins/jenkins_jobs
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-02 18:31:12 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-02 18:31:12 +0100
commit1e221a2be5d85579166365828a1368d569d23d90 (patch)
tree80f46f8444527a468e292e3b3729b004e4042e88 /etc/munin/plugins/jenkins_jobs
parent171316b037b4000ff02cc2e5b75550cd2b826f5a (diff)
downloadjenkins.debian.net-1e221a2be5d85579166365828a1368d569d23d90.tar.xz
try harder to get edu + plugins working
Diffstat (limited to 'etc/munin/plugins/jenkins_jobs')
-rwxr-xr-xetc/munin/plugins/jenkins_jobs2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/munin/plugins/jenkins_jobs b/etc/munin/plugins/jenkins_jobs
index d9ddce10..3f3d6e82 100755
--- a/etc/munin/plugins/jenkins_jobs
+++ b/etc/munin/plugins/jenkins_jobs
@@ -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