From: Peter Palfrader Date: Sun, 13 Jan 2008 00:21:08 +0000 (+0000) Subject: And fix the exit code for OK X-Git-Tag: tor-0.2.0.16-alpha~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=388b2f6221d69ef91ca16e631f2c24193ae566a8;p=thirdparty%2Ftor.git And fix the exit code for OK svn:r13123 --- diff --git a/contrib/nagios-check-tor-authority-cert b/contrib/nagios-check-tor-authority-cert index 92cfb918e2..15a6a9603b 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