Put error check back in.
This commit is contained in:
parent
6a2cc64420
commit
701f0e6498
4
sync.sh
4
sync.sh
|
|
@ -77,6 +77,10 @@ while true; do
|
||||||
if sslmate download --all; then
|
if sslmate download --all; then
|
||||||
echo "$(date) Downloaded new certificates! Touch NEW in 'keys' directory"
|
echo "$(date) Downloaded new certificates! Touch NEW in 'keys' directory"
|
||||||
touch /etc/sslmate/certs/NEW
|
touch /etc/sslmate/certs/NEW
|
||||||
|
else
|
||||||
|
if [[ "$?" != "10" ]]; then
|
||||||
|
echo "sslmate error"
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Sleep
|
# Sleep
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue