Simplify single-line if statements

This commit is contained in:
Devin Teske
2016-12-13 02:48:14 +00:00
parent afcce2f52d
commit 19dbb0ba18
+1 -2
View File
@@ -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