nodewatcher: fix errormessage.

Insert the lost "&"

Fixes: #239

Signed-off-by: Robert Langhammer <rlanghammer@web.de>
Reviewed-by: Christian Dresel <freifunk@dresel.systems>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
Robert Langhammer 2022-04-07 18:12:43 +02:00 committed by Fabian Bläse
parent 57408f5dfb
commit f3b1604ff3
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ fi
# Checks if fastd is running
vpn_active=0
pidof fastd >/dev/null && vpn_active=1
bridge fdb show brport vxlan0 state permanent >/dev/null && vpn_active=1
bridge fdb show brport vxlan0 state permanent &>/dev/null && vpn_active=1
SYSTEM_DATA="$SYSTEM_DATA<vpn_active>$vpn_active</vpn_active>"
echo -n "<system_data>$SYSTEM_DATA</system_data>"