From 63b46c8fb4ea131fe57ba3c1df2290cad73e19c5 Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Fri, 24 Jun 2022 18:44:43 -0400 Subject: [PATCH] tools: fix boot config load in watchfrr 2469a37f reversed the logic of the existence check for /etc/frr/frr.conf breaking boot config loading, fix it. Signed-off-by: Christian Hopps --- tools/frrcommon.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/frrcommon.sh.in b/tools/frrcommon.sh.in index c168edc50d..3344ff4954 100755 --- a/tools/frrcommon.sh.in +++ b/tools/frrcommon.sh.in @@ -73,7 +73,7 @@ chownfrr() { vtysh_b () { [ "$1" = "watchfrr" ] && return 0 - if [ -r "$C_PATH/frr.conf" ]; then + if [ ! -r "$C_PATH/frr.conf" ]; then log_warning_msg "$C_PATH/frr.conf does not exist; skipping config apply" return 0 fi