Explorar el Código

And fix the exit code for OK

svn:r13123
Peter Palfrader hace 17 años
padre
commit
388b2f6221
Se han modificado 1 ficheros con 1 adiciones y 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