refactor: maintain abstraction
This commit is contained in:
1 parent
a1c4038ac7
commit
76a974f88b
1 file changed
+1
-1
@@ -207,7 +207,7 @@ detach() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$(ip netns exec $NETNS ip -f inet addr show dev ethwe)" ] ; then
|
if [ -n "$(ip netns exec $NETNS ip -f inet addr show dev $CONTAINER_IFNAME)" ] ; then
|
||||||
# other addresses are left, leave the device alone
|
# other addresses are left, leave the device alone
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user