Browse Source

interpret 'off' as false in getargbool

Signed-off-by: Will Woods <wwoods@redhat.com>
master
Will Woods 13 years ago committed by Harald Hoyer
parent
commit
1cc57edaf5
  1. 1
      modules.d/99base/dracut-lib.sh

1
modules.d/99base/dracut-lib.sh

@ -124,6 +124,7 @@ getargbool() { @@ -124,6 +124,7 @@ getargbool() {
if [ -n "$_b" ]; then
[ $_b = "0" ] && return 1
[ $_b = "no" ] && return 1
[ $_b = "off" ] && return 1
fi
return 0
}

Loading…
Cancel
Save