interpret 'off' as false in getargbool
Signed-off-by: Will Woods <wwoods@redhat.com>master
parent
ce32e32f2a
commit
1cc57edaf5
|
@ -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…
Reference in New Issue