Exit on download error
This commit is contained in:
parent
e5874c2fd9
commit
7951072213
3
sync.sh
3
sync.sh
|
|
@ -77,6 +77,9 @@ 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
|
||||||
|
echo " -- error "
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Sleep
|
# Sleep
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue