mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
A few more sloppy bug fixes
This commit is contained in:
parent
e956ee03f3
commit
0007279526
6
inxi
6
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 0.3.0
|
||||
#### version: 0.3.1
|
||||
#### Date: November 1 2008
|
||||
########################################################################
|
||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
||||
|
@ -435,7 +435,7 @@ get_parameters()
|
|||
## note: not sure about this, you'd think user values should be overridden, but
|
||||
## we'll leave this for now
|
||||
if [ -z "$COLOR_SCHEME" ];then
|
||||
set_color_scheme "$1"
|
||||
set_color_scheme "$OPTARG"
|
||||
fi
|
||||
else
|
||||
error_handler 3 "$OPTARG"
|
||||
|
@ -456,7 +456,7 @@ get_parameters()
|
|||
;;
|
||||
v)
|
||||
if [[ -n $( egrep "^[0-$VERBOSITY_LEVELS]$" <<< $OPTARG ) ]];then
|
||||
VERBOSITY_LEVEL="$opt"
|
||||
VERBOSITY_LEVEL="$OPTARG"
|
||||
else
|
||||
error_handler 4 "$OPTARG"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue