Browse Source

Get rid of redundant NONL stuff in dracut-gencmdline

master
Victor Lowther 16 years ago
parent
commit
ebdddd29d3
  1. 15
      dracut-gencmdline

15
dracut-gencmdline

@ -21,22 +21,11 @@ @@ -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

Loading…
Cancel
Save