checks for connectivity before running updates

This commit is contained in:
Nicole O'Connor 2020-11-17 15:46:52 -08:00
parent 78f2496c20
commit 21b2f7f6ce

View File

@ -22,4 +22,5 @@ function zeesh_update () {
fi
}
zeesh_update
ticker_message "zeesh: checking network"
curl -s http://lavacano.net --connect-timeout 1 > /dev/null && zeesh_update