From 8216db0e54ba40b75120795bdbde402887c296bf Mon Sep 17 00:00:00 2001 From: dteske Date: Tue, 13 Dec 2016 01:52:10 +0000 Subject: [PATCH] Remove completely unnecesary parentheses --- usr.sbin/bsdinstall/scripts/wlanconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/bsdinstall/scripts/wlanconfig b/usr.sbin/bsdinstall/scripts/wlanconfig index 96a0de1c0ecf..fe55f6a626b0 100755 --- a/usr.sbin/bsdinstall/scripts/wlanconfig +++ b/usr.sbin/bsdinstall/scripts/wlanconfig @@ -165,10 +165,10 @@ EOF # Try to reach wpa_supplicant. If it isn't running and we can modify the # existing system, start it. Otherwise, fail. # -(wpa_cli ping > /dev/null 2>&1 || ([ "$BSDINSTALL_CONFIGCURRENT" ] && - wpa_supplicant -B -i $1 -c "$BSDINSTALL_TMPETC/wpa_supplicant.conf")) || - ($DIALOG --backtitle "$DIALOG_BACKTITLE" --title "$msg_error" --msgbox \ - "Could not start wpa_supplicant!" 0 0; exit 1) || exit 1 +wpa_cli ping > /dev/null 2>&1 || ([ "$BSDINSTALL_CONFIGCURRENT" ] && + wpa_supplicant -B -i $1 -c "$BSDINSTALL_TMPETC/wpa_supplicant.conf") || + $DIALOG --backtitle "$DIALOG_BACKTITLE" --title "$msg_error" --msgbox \ + "Could not start wpa_supplicant!" 0 0; exit 1 || exit 1 # See if we succeeded wpa_cli ping > /dev/null 2>&1 -- 2.39.5