Get rid of redundant NONL stuff in dracut-gencmdline

master
Victor Lowther 2009-08-14 22:54:38 -05:00
parent 2790d5b2ed
commit ebdddd29d3
1 changed files with 2 additions and 13 deletions

View File

@ -21,22 +21,11 @@




function error() { function error() {
local NONL="" echo "$@" >&2
if [ "$1" == "-n" ]; then
NONL="-n"
shift
fi
echo $NONL "$@" >&2
} }


function vecho() { function vecho() {
return is_verbose && echo "$@"
local NONL=""
if [ "$1" == "-n" ]; then
NONL="-n"
shift
fi
is_verbose && echo $NONL "$@"
} }


# module dep finding and installation functions # module dep finding and installation functions