diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-01-13 00:21:08 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-01-13 00:21:08 +0000 |
commit | 388b2f6221d69ef91ca16e631f2c24193ae566a8 (patch) | |
tree | bef2cc8fcc022e92b5a5d76503703611aa164e46 | |
parent | edf5e70784dc3519b656e12b9b7f7928fa85884a (diff) | |
download | tor-388b2f6221d69ef91ca16e631f2c24193ae566a8.tar.gz tor-388b2f6221d69ef91ca16e631f2c24193ae566a8.zip |
And fix the exit code for OK
svn:r13123
-rwxr-xr-x | contrib/nagios-check-tor-authority-cert | 2 |
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 |