From 997b2cbabb1978aa3762ae1557fe29c3780da72f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 2 Dec 2012 19:34:42 +0100 Subject: make cd-tests more robust --- 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 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 -- cgit v1.2.3-70-g09d2