Merge pull request #11477 from LabNConsulting/chopps/fix-config-load

tools: fix boot config load in watchfrr
This commit is contained in:
Donald Sharp 2022-06-25 10:19:02 -04:00 committed by GitHub
commit 437e7e77d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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