And fix the exit code for OK

svn:r13123
This commit is contained in:
Peter Palfrader 2008-01-13 00:21:08 +00:00
parent edf5e70784
commit 388b2f6221

View File

@ -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