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:
ce32e32
)
interpret 'off' as false in getargbool
author
Will Woods
<wwoods@redhat.com>
Wed, 11 Jan 2012 17:48:27 +0000
(12:48 -0500)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 13 Jan 2012 10:50:53 +0000
(11:50 +0100)
Signed-off-by: Will Woods <wwoods@redhat.com>
modules.d/99base/dracut-lib.sh
patch
|
blob
|
history
diff --git
a/modules.d/99base/dracut-lib.sh
b/modules.d/99base/dracut-lib.sh
index
b4fb435
..
4897a3d
100755
(executable)
--- a/
modules.d/99base/dracut-lib.sh
+++ b/
modules.d/99base/dracut-lib.sh
@@
-124,6
+124,7
@@
getargbool() {
if [ -n "$_b" ]; then
[ $_b = "0" ] && return 1
[ $_b = "no" ] && return 1
+ [ $_b = "off" ] && return 1
fi
return 0
}