From: Quentin Young Date: Thu, 5 Dec 2019 17:57:45 +0000 (-0500) Subject: tools: [ [ is not valid test syntax X-Git-Tag: base_7.3~111^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F5476%2Fhead;p=mirror%2Ffrr.git tools: [ [ is not valid test syntax Signed-off-by: Quentin Young --- diff --git a/tools/frr.in b/tools/frr.in index 50f7ecaa9f..a21b06752b 100755 --- a/tools/frr.in +++ b/tools/frr.in @@ -561,7 +561,7 @@ case "$1" in stop_prio 0 $dmn fi - if [ [ -n "$dmn" ] && [ "$dmn" != "zebra" ] ]; then + if [ -n "$dmn" -a "$dmn" != "zebra" ]; then [ -n "$dmn" ] && eval "${dmn/-/_}=0" start_watchfrr fi