Put error check back in.

This commit is contained in:
Andrew Hurley 2021-08-22 17:41:59 +10:00
parent 6a2cc64420
commit 701f0e6498
1 changed files with 4 additions and 0 deletions

View File

@ -77,6 +77,10 @@ while true; do
if sslmate download --all; then
echo "$(date) Downloaded new certificates! Touch NEW in 'keys' directory"
touch /etc/sslmate/certs/NEW
else
if [[ "$?" != "10" ]]; then
echo "sslmate error"
exit
fi
# Sleep