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

Bug#375045: finish-install: <go-back> from final dialog broken



On Friday 23 June 2006 03:17, Joey Hess wrote:
> Er, there were no code changes that could impact this between
> prebaseconfig and finish-install. 20final-message exits 10, and the
> postinst detects an exit value of 10 and takes down the progress bar
> and exits. Same code as was in prebaseconfig.

Yes there is a difference!

Old code:
            if "$script" 2> $tmpfile ; then
                :
            else
                code="$?"


New code:
                if ! log-output -t finish-install "$script"; then
                        code="$?"

The ! before log-output looses you the exit code...
We've seen that error before IIRC.

Attachment: pgpvMeTHJ8j3n.pgp
Description: PGP signature


Reply to: