From f08e37bdad7aa7c69c7529fe9e48939a4b21d9cc Mon Sep 17 00:00:00 2001 From: PCFreak2000 <16918533+PCFreak2000@users.noreply.github.com> Date: Sat, 24 Oct 2020 17:43:19 +0200 Subject: [PATCH] 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. --- .local/bin/cron/checkup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/cron/checkup b/.local/bin/cron/checkup index bf7f85d..4cfb856 100755 --- a/.local/bin/cron/checkup +++ b/.local/bin/cron/checkup @@ -2,7 +2,7 @@ # 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..."