From e956ee03f3e1db70acbe1fed53b84ed085998253 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 1 Nov 2008 21:30:53 +0000 Subject: [PATCH] bug fix, changed $opt to $OPTARG --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 1ca6494..8e8a380 100755 --- a/inxi +++ b/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)