Skip to content

Commit

Permalink
[docker-frr] Fix the start.sh where it fails in case no WARM_RESTART …
Browse files Browse the repository at this point in the history
…in configDB (sonic-net#41)

Signed-off-by: Zhenggen Xu <zxu@linkedin.com>
  • Loading branch information
zhenggen-xu committed Feb 10, 2020
1 parent cc2f574 commit c884f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockers/docker-fpm-frr/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ rm -f /var/run/rsyslogd.pid
supervisorctl start rsyslogd

# start eoiu pulling, only if configured so
if [[ $(sonic-cfggen -d -v 'WARM_RESTART.bgp.bgp_eoiu') == 'true' ]]; then
if [[ ! -z $(sonic-cfggen -d -v 'WARM_RESTART') ]] && [[ $(sonic-cfggen -d -v 'WARM_RESTART.bgp.bgp_eoiu') == 'true' ]]; then
supervisorctl start bgp_eoiu_marker
fi

Expand Down

0 comments on commit c884f26

Please sign in to comment.