Explorar o código

And fix the exit code for OK

svn:r13123
Peter Palfrader %!s(int64=18) %!d(string=hai) anos
pai
achega
388b2f6221
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      contrib/nagios-check-tor-authority-cert

+ 1 - 1
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