projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2790d5b
)
Get rid of redundant NONL stuff in dracut-gencmdline
author
Victor Lowther
<victor.lowther@gmail.com>
Sat, 15 Aug 2009 03:54:38 +0000
(22:54 -0500)
committer
Victor Lowther
<victor.lowther@gmail.com>
Sat, 15 Aug 2009 03:54:38 +0000
(22:54 -0500)
dracut-gencmdline
patch
|
blob
|
history
diff --git
a/dracut-gencmdline
b/dracut-gencmdline
index
733f199
..
2901199
100755
(executable)
--- a/
dracut-gencmdline
+++ b/
dracut-gencmdline
@@
-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