Ensure all variables get reset between function runs.
This commit is contained in:
parent
5dea8472b0
commit
598c2bb15f
@ -161,6 +161,9 @@
|
||||
|
||||
unset OPTIND
|
||||
unset accept
|
||||
unset goodbye
|
||||
unset only_sys
|
||||
unset only_flat
|
||||
while getopts ":hygsf" opt; do
|
||||
case $opt in
|
||||
h) echo -e "$usage"
|
||||
|
Loading…
x
Reference in New Issue
Block a user