summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-05-01 10:59:16 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-05-01 10:59:16 -0700
commita568c369788436b7a10b8de7cf8051f2c0130a23 (patch)
tree8f99464c5894758c41c6f264c63bf5c60719688e
parentprobe-mirmon: ensure valid return from munge (diff)
downloadgentoo-mirrorstats-a568c369788436b7a10b8de7cf8051f2c0130a23.tar.gz
gentoo-mirrorstats-a568c369788436b7a10b8de7cf8051f2c0130a23.tar.bz2
gentoo-mirrorstats-a568c369788436b7a10b8de7cf8051f2c0130a23.zip
mirmon-wrapper.sh: missed case in args
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xmirmon-wrapper.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/mirmon-wrapper.sh b/mirmon-wrapper.sh
index 0340ec6..e641c75 100755
--- a/mirmon-wrapper.sh
+++ b/mirmon-wrapper.sh
@@ -122,6 +122,7 @@ INVALID=
while [[ $# -gt 0 ]]; do
case "$1" in
+ # Strs:
--mode)
MODE=$2
shift 2
@@ -135,6 +136,11 @@ while [[ $# -gt 0 ]]; do
URL=$2
shift 2
;;
+ # Bools:
+ --quiet)
+ QUIET=1
+ shift
+ ;;
--debug)
DEBUG=1
shift
@@ -147,8 +153,8 @@ while [[ $# -gt 0 ]]; do
HELP=1
shift
;;
+ # End of options
--)
- # End of options
break
;;
*)