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

Re: Bug#843727: fix inside



control: tags -1 pending

Le mercredi 9 novembre 2016, 22:45:32 CET Eric Valette a écrit :
> the wrong code is calling "which update-initramfs" outside of if
> because then the set -e catch an error and there is no way the
> test on $? can work
> 
> correct code is:
> 
>      if which update-initramfs > /dev/null; then
>          update-initramfs -u
>      fi

Yes, was preparing that already after reading your last mail. :-)

It’s now committed to SVN and will be in the next upload.


Cheers,
--Aurélien


Reply to: