Re: PATCH [rhel-5.4 mkinitrd fips] don't exit with an error when --with-fips is used without -v

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

 



This looks fine to me.
On Wed, May 13, 2009 at 08:02:37PM +0200, Hans de Goede wrote:
> Hi,
>
> We use "set -e" in certain parts to make sure we get all the
> right bits in to do the fips checking, but it turns out that
> vecho without -v trips over this, this patch fixes this.
>
> Regards,
>
> Hans
>

> diff -up mkinitrd-5.1.19.6/mkinitrd.orig mkinitrd-5.1.19.6/mkinitrd
> --- mkinitrd-5.1.19.6/mkinitrd.orig	2009-05-13 19:31:26.000000000 +0200
> +++ mkinitrd-5.1.19.6/mkinitrd	2009-05-13 19:58:21.000000000 +0200
> @@ -93,7 +93,9 @@ vecho()
>          NONL="-n"
>          shift
>      fi
> -    [ -n "$verbose" ] && echo $NONL "$@"
> +    if [ -n "$verbose" ]; then
> +        echo $NONL "$@"
> +    fi
>  }
>  
>  error()

> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

-- 
Joel Andres Granados
Brno, Czech Republic, Red Hat.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux