base/dracut-lib.sh:getargs() don't return 1 for empty values

getargs() is only used with real values and not booleans.

So, return the values only.
Harald Hoyer 2015-10-09 11:30:03 +02:00
parent 7de064b57c
commit d1f7f2ac04
1 changed files with 0 additions and 2 deletions

View File

@ -320,8 +320,6 @@ getargs() {
if [ -n "$_gfound" ]; then
if [ $# -gt 0 ]; then
echo -n "$@"
else
echo -n 1
fi
debug_on
return 0