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.
parent
7de064b57c
commit
d1f7f2ac04
|
|
@ -320,8 +320,6 @@ getargs() {
|
|||
if [ -n "$_gfound" ]; then
|
||||
if [ $# -gt 0 ]; then
|
||||
echo -n "$@"
|
||||
else
|
||||
echo -n 1
|
||||
fi
|
||||
debug_on
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue