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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214933 --- Comment #13 from Devin Teske <dteske@FreeBSD.org> --- (In reply to Maxim Filimonov from comment #10) The following: ENCRYPTION=$( ... \ ... ) [ $? -eq 0 ] || exit 1 Should be instead: ENCRYPTION=$( ... \ ... ) || 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=$( ... ) is the exit status of "..." in the sub-shell NOTE: This allows us to combine the VAR=$( ... ) and the exit-status test, ala VAR=$( ... ) || exit -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214933-2920-ugmDtSMNZM>
