From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Hoyer Subject: Re: [PATCH 1/3] interpret 'off' as false in getargbool Date: Fri, 13 Jan 2012 11:51:36 +0100 Message-ID: <4F100CB8.900@redhat.com> References: <1326304109-32652-1-git-send-email-wwoods@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1326304109-32652-1-git-send-email-wwoods-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Will Woods Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 11.01.2012 18:48, Will Woods wrote: > Signed-off-by: Will Woods > --- > modules.d/99base/dracut-lib.sh | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh > index e86d209..ca3bc0e 100755 > --- 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 > } applied