From 388b2f6221d69ef91ca16e631f2c24193ae566a8 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 13 Jan 2008 00:21:08 +0000 Subject: And fix the exit code for OK svn:r13123 --- contrib/nagios-check-tor-authority-cert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/nagios-check-tor-authority-cert b/contrib/nagios-check-tor-authority-cert index 92cfb918e..15a6a9603 100755 --- a/contrib/nagios-check-tor-authority-cert +++ b/contrib/nagios-check-tor-authority-cert @@ -82,5 +82,5 @@ elif [ "$(( $now + 30*24*60*60 ))" -ge "$expiryunix" ]; then exit 1 else echo "OK: Certificate expires $expirydate (authority $identity)." - exit 1 + exit 0 fi -- cgit v1.2.3