From f3a8471e5fe5447a35d5e430fe0b49de829ef190 Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Tue, 13 Dec 2016 02:56:52 +0000 Subject: [PATCH] It's completely pointless to replace newlines with space (this is done automatically for you upon shell expansion) --- usr.sbin/bsdinstall/scripts/wlanconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig index dc87dbd5ef0..b7b150bd75f 100755 --- a/usr.sbin/bsdinstall/scripts/wlanconfig +++ b/usr.sbin/bsdinstall/scripts/wlanconfig @@ -219,7 +219,6 @@ while :; do f_dialog_title "Network Selection" prompt="Select a wireless network to connect to." - menu_list=$( echo $NETWORKS | tr '\n' ' ' ) f_dialog_menu_size height width rows "$DIALOG_TITLE" \ "$DIALOG_BACKTITLE" "$prompt" "" $menu_list NETWORK=$( eval $DIALOG \ @@ -229,7 +228,7 @@ while :; do --extra-label \"Rescan\" \ --menu \"\$prompt\" \ $height $width $rows \ - $menu_list \ + $NETWORKS \ 2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD ) retval=$?