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

Re: [PATCH 2/4] kernel hooks: Enable error-exit (sh -e)



On Fri, 04 Mar 2011, Ben Hutchings wrote:

> We should not continue after a command unexpectedly fails.
> 
> Change the $INITRD test so that failure is not treated as unexpected.
> 
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> ---
>  kernel/postinst.d/initramfs-tools |    6 ++++--
>  kernel/postrm.d/initramfs-tools   |    6 +++++-
>  2 files changed, 9 insertions(+), 3 deletions(-)
> 

thanks applied as is to ben/hook_pol.


Reply to: