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
1 changed files with 2 additions and 1 deletions

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