fixed whitespace problem after last patch

This commit is contained in:
Maarten van Gompel 2021-04-05 16:43:23 +02:00
parent bcde43d369
commit 2d1180389f

View file

@ -20,16 +20,16 @@ update() {
CALLSECONDS="$(echo "$NOWS" - "$CALLSTARTS" | bc)"
CALLINFO="${CALLSECONDS}s"
fi
# symbol if wireguard/vpn is connected
VPN=""
VPNDEVICE="$(nmcli con show | grep vpn | awk '{ print $4 }')"
WGDEVICE="$(nmcli con show | grep wireguard | awk '{ print $4 }')"
if [ -n "$VPNDEVICE" ] && [ "$VPNDEVICE" != "--" ]; then
VPN=""
if [ -n "$VPNDEVICE" ] && [ "$VPNDEVICE" != "--" ]; then
VPN=""
elif [ -n "$WGDEVICE" ] && [ "$WGDEVICE" != "--" ]; then
VPN=""
fi
VPN=""
fi
# W symbol if wireless is connect
WIRELESS=""