[or-cvs] r13123: And fix the exit code for OK (tor/trunk/contrib)

weasel at seul.org weasel at seul.org
Sun Jan 13 00:21:08 UTC 2008


Author: weasel
Date: 2008-01-12 19:21:08 -0500 (Sat, 12 Jan 2008)
New Revision: 13123

Modified:
   tor/trunk/contrib/nagios-check-tor-authority-cert
Log:
And fix the exit code for OK

Modified: tor/trunk/contrib/nagios-check-tor-authority-cert
===================================================================
--- tor/trunk/contrib/nagios-check-tor-authority-cert	2008-01-13 00:20:47 UTC (rev 13122)
+++ tor/trunk/contrib/nagios-check-tor-authority-cert	2008-01-13 00:21:08 UTC (rev 13123)
@@ -82,5 +82,5 @@
 	exit 1
 else
 	echo "OK: Certificate expires $expirydate (authority $identity)."
-	exit 1
+	exit 0
 fi



More information about the tor-commits mailing list