From db6e0503a6718c903a3e965697a917c154f18889 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Thu, 5 Dec 2019 12:57:45 -0500 Subject: [PATCH] tools: [ [ is not valid test syntax Signed-off-by: Quentin Young --- tools/frr.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5