Added missing value for parameter (#830)
The value of the "-c" parameter was missing, so the check for an active internet connection as well as the whole script failed.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Syncs repositories and downloads updates, meant to be run as a cronjob.
|
# Syncs repositories and downloads updates, meant to be run as a cronjob.
|
||||||
|
|
||||||
ping -q -c example.org > /dev/null || exit
|
ping -q -c 1 example.org > /dev/null || exit
|
||||||
|
|
||||||
notify-send "📦 Repository Sync" "Checking for package updates..."
|
notify-send "📦 Repository Sync" "Checking for package updates..."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user