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