Skip to content

Commit 5d99b78

Browse files
dzhangalibabayxieca
authored andcommitted
don't exit when bgpd process doesn't exist(EXIT_CODE 1) (sonic-net#417)
1 parent 3d03c13 commit 5d99b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/fast-reboot

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ fi
281281
# Kill bgpd to start the bgp graceful restart procedure
282282
debug "Stopping bgp ..."
283283
docker exec -i bgp pkill -9 zebra
284-
docker exec -i bgp pkill -9 bgpd
284+
docker exec -i bgp pkill -9 bgpd || [ $? == 1 ]
285285
debug "Stopped bgp ..."
286286

287287
# Kill lldp, otherwise it sends informotion about reboot

0 commit comments

Comments
 (0)