Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
ignore interface deletion errors during weave reset
Browse files Browse the repository at this point in the history
These can occur when a container dies during `weave reset`.

Fixes #1356.
  • Loading branch information
rade committed Aug 27, 2015
1 parent 79d1c40 commit 1df752c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weave
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ case "$COMMAND" in
conntrack -D -p udp --dport $PORT >/dev/null 2>&1 || true
destroy_bridge
for LOCAL_IFNAME in $(ip link show | grep v${CONTAINER_IFNAME}pl | cut -d ' ' -f 2 | tr -d ':') ; do
ip link del $LOCAL_IFNAME
ip link del $LOCAL_IFNAME >/dev/null 2>&1 || true
done
;;
rmpeer)
Expand Down

0 comments on commit 1df752c

Please sign in to comment.