Add missing 'return' in option processing.
This commit is contained in:
parent
05fc13bc1d
commit
8216282742
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ parser_getopts() {
|
|||
return 1
|
||||
elif [[ "$2" =~ [^[:alnum:]_] ]]; then
|
||||
echo "${0##*/}: only alphanumerics and _ allowed for global name (--global-name)" >&2
|
||||
return 1
|
||||
else
|
||||
CURRENT_SECTION="$2"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue