diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig index 08481ea3cb30..1218d279100e 100755 --- a/usr.sbin/bsdinstall/scripts/wlanconfig +++ b/usr.sbin/bsdinstall/scripts/wlanconfig @@ -357,9 +357,8 @@ network={ EOF # Bring up new network -if [ "$BSDINSTALL_CONFIGCURRENT" ]; then +[ "$BSDINSTALL_CONFIGCURRENT" ] && f_eval_catch -d wlanconfig wpa_cli "wpa_cli reconfigure" -fi exit $SUCCESS