fix: unbound var

This commit is contained in:
2026-06-08 13:15:57 +02:00
parent 5ceff7e0a3
commit 937a4f1514
2 changed files with 6 additions and 2 deletions
+5
View File
@@ -1,6 +1,11 @@
set -euo pipefail
trap 'echo "Interrupted or failed. Repo may be mid-rebase/cherry-pick." ; exit 1' INT ERR
if [[ $# -eq 0 ]]; then
echo "Usage: ngcp [mode] [options]"
echo "Run 'ngcp --help' for more information."
exit 1
fi
# waits for an internet connection. It pings both Google DNS and Cloudfare dns in case one of them is down
pings=0