commit e71c811d43fab5d6074427dac0f656d06412bd6e
parent 154d5a857f1ca7b1cf4a8a82e8e1837889bbfbce
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Fri, 9 Dec 2016 15:46:02 +0100
Merge branch 'master' of a3nm.net:git/mybin
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ssleft b/ssleft
@@ -20,7 +20,7 @@ then
exit 0
fi
-if ! (echo "$CERT" | openssl x509 -noout -checkend $MARGIN_S)
+if ! (echo "$CERT" | openssl x509 -noout -checkend $MARGIN_S >/dev/null)
then
echo "== cert for $HOST:$PORT will expire in <= $MARGIN days =="
echo "details of cert are:"