fixed whitespace problem after last patch
This commit is contained in:
parent
bcde43d369
commit
2d1180389f
1 changed files with 5 additions and 5 deletions
|
@ -26,10 +26,10 @@ update() {
|
||||||
VPNDEVICE="$(nmcli con show | grep vpn | awk '{ print $4 }')"
|
VPNDEVICE="$(nmcli con show | grep vpn | awk '{ print $4 }')"
|
||||||
WGDEVICE="$(nmcli con show | grep wireguard | awk '{ print $4 }')"
|
WGDEVICE="$(nmcli con show | grep wireguard | awk '{ print $4 }')"
|
||||||
if [ -n "$VPNDEVICE" ] && [ "$VPNDEVICE" != "--" ]; then
|
if [ -n "$VPNDEVICE" ] && [ "$VPNDEVICE" != "--" ]; then
|
||||||
VPN=""
|
VPN=""
|
||||||
elif [ -n "$WGDEVICE" ] && [ "$WGDEVICE" != "--" ]; then
|
elif [ -n "$WGDEVICE" ] && [ "$WGDEVICE" != "--" ]; then
|
||||||
VPN=""
|
VPN=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# W symbol if wireless is connect
|
# W symbol if wireless is connect
|
||||||
WIRELESS=""
|
WIRELESS=""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue