Get rid of redundant NONL stuff in dracut-gencmdline
authorVictor Lowther <victor.lowther@gmail.com>
Sat, 15 Aug 2009 03:54:38 +0000 (22:54 -0500)
committerVictor Lowther <victor.lowther@gmail.com>
Sat, 15 Aug 2009 03:54:38 +0000 (22:54 -0500)
dracut-gencmdline

index 733f199..2901199 100755 (executable)
 
 
 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