summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-01-13 00:21:08 +0000
committerPeter Palfrader <peter@palfrader.org>2008-01-13 00:21:08 +0000
commit388b2f6221d69ef91ca16e631f2c24193ae566a8 (patch)
treebef2cc8fcc022e92b5a5d76503703611aa164e46
parentedf5e70784dc3519b656e12b9b7f7928fa85884a (diff)
downloadtor-388b2f6221d69ef91ca16e631f2c24193ae566a8.tar.gz
tor-388b2f6221d69ef91ca16e631f2c24193ae566a8.zip
And fix the exit code for OK
svn:r13123
-rwxr-xr-xcontrib/nagios-check-tor-authority-cert2
1 files changed, 1 insertions, 1 deletions
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