Re: [PATCH 1/3] interpret 'off' as false in getargbool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11.01.2012 18:48, Will Woods wrote:
> Signed-off-by: Will Woods <wwoods@xxxxxxxxxx>
> ---
>  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
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux