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() {
local NONL=""
if [ "$1" == "-n" ]; then
NONL="-n"
shift
fi
echo $NONL "$@" >&2
echo "$@" >&2
}

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

# module dep finding and installation functions