From 50681819914df815d826419fbd4d798d5e8f221d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 14 Apr 2019 13:49:17 -0400 Subject: _get_options(): Unset OPTIND --- (limited to 'src') diff --git a/src/main.sh b/src/main.sh index 549e45e..a06a885 100644 --- a/src/main.sh +++ b/src/main.sh @@ -45,6 +45,7 @@ _get_options() { local opt= + unset OPTIND unset OPTARG while getopts "${OPTSTRING}" opt; do case "${opt}" in -- cgit v0.9.1