소스 검색

And fix the exit code for OK

svn:r13123
Peter Palfrader 17 년 전
부모
커밋
388b2f6221
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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