diff options
author | Christian Hopps <chopps@labn.net> | 2022-06-25 00:44:43 +0200 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2022-06-25 00:44:43 +0200 |
commit | 63b46c8fb4ea131fe57ba3c1df2290cad73e19c5 (patch) | |
tree | 5b7f2302c7b51f6c3e1ef5e4e1f3c6781b8f9858 /tools/frrcommon.sh.in | |
parent | Merge pull request #11429 from donaldsharp/interface_funkiness (diff) | |
download | frr-63b46c8fb4ea131fe57ba3c1df2290cad73e19c5.tar.xz frr-63b46c8fb4ea131fe57ba3c1df2290cad73e19c5.zip |
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 <chopps@labn.net>
Diffstat (limited to '')
-rwxr-xr-x | tools/frrcommon.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/frrcommon.sh.in b/tools/frrcommon.sh.in index c168edc50..3344ff495 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 |