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