From 03aeb1ab3bf10a8a7359f479b4340e3f22f227b0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 3 Dec 2012 10:39:01 +0100 Subject: fix logic --- etc/munin/plugins/jenkins_builds_results | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/munin/plugins/jenkins_builds_results') 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 -- cgit v1.2.3-70-g09d2