Date: Tue, 13 Dec 2016 02:27:38 +0000 (UTC) From: Devin Teske <dteske@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309986 - head/usr.sbin/bsdinstall/scripts Message-ID: <201612130227.uBD2Rcdh063097@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dteske Date: Tue Dec 13 02:27:38 2016 New Revision: 309986 URL: https://svnweb.freebsd.org/changeset/base/309986 Log: There's an API function for displaying errors Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig ============================================================================== --- head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Dec 13 02:25:23 2016 (r309985) +++ head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Dec 13 02:27:38 2016 (r309986) @@ -167,8 +167,8 @@ EOF # if ! wpa_cli ping > /dev/null 2>&1; then if [ ! "$BSDINSTALL_CONFIGCURRENT" ]; then - $DIALOG --backtitle "$DIALOG_BACKTITLE" --title "$msg_error" --msgbox \ - "Wireless cannot be configured without making changes to the local system!" 0 0 + f_show_err "Wireless cannot be configured without %s" \ + "making changes to the local system!" exit 1 fi wpa_supplicant -B -i $1 -c "$BSDINSTALL_TMPETC/wpa_supplicant.conf") || exit 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612130227.uBD2Rcdh063097>