summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.sh1
1 files changed, 1 insertions, 0 deletions
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