joukewitteveen/netcfg — comment on commit 10a01a13d3e849e576dadd5ca39be67c632f9f3a
File: scripts/wifi-menu line 203
By falconindy:

No need to wrap this in a test, ip returns exit codes properly. Are you sure you need the 'up' in here?

if ip link show dev "$INTERFACE" &>/dev/null; then