diff options
author | Florian Eckert <fe@dev.tdt.de> | 2020-12-08 15:26:01 +0100 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2020-12-22 08:38:30 +0100 |
commit | 2f58865a01c8ecaa6fc8e715ed7ecd09a0181938 (patch) | |
tree | 879646391b82c055100a51fa4d11c80ff198598f /net/mwan3/files | |
parent | 0dbbc58cbc0e832d55edc2edebb52c2197d73473 (diff) |
mwan3: fix string check for active_tbls
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'net/mwan3/files')
-rwxr-xr-x | net/mwan3/files/usr/sbin/mwan3rtmon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mwan3/files/usr/sbin/mwan3rtmon b/net/mwan3/files/usr/sbin/mwan3rtmon index f916f4a9c..96a774783 100755 --- a/net/mwan3/files/usr/sbin/mwan3rtmon +++ b/net/mwan3/files/usr/sbin/mwan3rtmon @@ -56,7 +56,7 @@ mwan3_add_all_routes() tid=0 active_tbls=" " config_foreach add_active_tbls interface - [ $active_tbls = " " ] && return + [ "$active_tbls" = " " ] && return mwan3_get_routes | while read -r route_line; do mwan3_route_line_dev "tid" "$route_line" "$ipv" if [ -n "$tid" ] && [ -z "${active_tbls##* $tid *}" ]; then |