return failure

This commit is contained in:
Noah Swartz 2016-02-04 09:29:11 -08:00
parent 94816f32a5
commit 8fdcb772d9

View file

@ -20,3 +20,7 @@ ls /etc/letsencrypt/archive/$PUBLIC_HOSTNAME | grep -q 2.pem
if [ $? -ne 0 ] ; then
FAIL=1
fi
if [ "$FAIL" = 1 ] ; then
exit 1
fi