A few more sloppy bug fixes

This commit is contained in:
inxi-svn 2008-11-01 21:34:07 +00:00
parent e956ee03f3
commit 0007279526

6
inxi
View file

@ -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