Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Dec 2016 20:34:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-sysinstall@FreeBSD.org
Subject:   [Bug 214933] [patch] bsdinstall: add support for "hidden" Wi-Fi networks
Message-ID:  <bug-214933-2920-ugmDtSMNZM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214933-2920@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214933-2920@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214933

--- Comment #13 from Devin Teske <dteske@FreeBSD.org> ---
(In reply to Maxim Filimonov from comment #10)

The following:
        ENCRYPTION=3D$( ... \
                ... )
        [ $? -eq 0 ] || exit 1

Should be instead:
        ENCRYPTION=3D$( ... \
                ... ) || exit

This is building upon:

a. exit when not given a value, retains the previous status
NOTE: This allows the [meaningful] exit status of dialog(1) to be exposed
instead of being overwritten to one (1)
b. The exit status of VAR=3D$( ... ) is the exit status of "..." in the sub=
-shell
NOTE: This allows us to combine the VAR=3D$( ... ) and the exit-status test=
, ala
VAR=3D$( ... ) || exit

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214933-2920-ugmDtSMNZM>