Simplify single-line if statements

This commit is contained in:
Devin Teske 2016-12-13 02:48:14 +00:00
parent afcce2f52d
commit 19dbb0ba18
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309996

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