svn commit: r309986 - head/usr.sbin/bsdinstall/scripts

Devin Teske dteske at FreeBSD.org
Tue Dec 13 02:27:39 UTC 2016


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


More information about the svn-src-head mailing list