diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2022-06-25 16:19:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-25 16:19:02 +0200 |
commit | 437e7e77d6a834d805c83b26dfd33235f1f08721 (patch) | |
tree | 5b7f2302c7b51f6c3e1ef5e4e1f3c6781b8f9858 | |
parent | Merge pull request #11429 from donaldsharp/interface_funkiness (diff) | |
parent | tools: fix boot config load in watchfrr (diff) | |
download | frr-437e7e77d6a834d805c83b26dfd33235f1f08721.tar.xz frr-437e7e77d6a834d805c83b26dfd33235f1f08721.zip |
Merge pull request #11477 from LabNConsulting/chopps/fix-config-load
tools: fix boot config load in watchfrr
-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 |