mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
bug fix, changed $opt to $OPTARG
This commit is contained in:
parent
7e4c53a7e5
commit
e956ee03f3
4
inxi
4
inxi
|
@ -438,7 +438,7 @@ get_parameters()
|
|||
set_color_scheme "$1"
|
||||
fi
|
||||
else
|
||||
error_handler 3 "$opt"
|
||||
error_handler 3 "$OPTARG"
|
||||
fi
|
||||
;;
|
||||
C)
|
||||
|
@ -458,7 +458,7 @@ get_parameters()
|
|||
if [[ -n $( egrep "^[0-$VERBOSITY_LEVELS]$" <<< $OPTARG ) ]];then
|
||||
VERBOSITY_LEVEL="$opt"
|
||||
else
|
||||
error_handler 4 "$opt"
|
||||
error_handler 4 "$OPTARG"
|
||||
fi
|
||||
;;
|
||||
U)
|
||||
|
|
Loading…
Reference in a new issue