refactor: maintain abstraction

This commit is contained in:
Matthias Radestock committed 2014-10-24 16:07:06 +01:00
1 parent a1c4038ac7
commit 76a974f88b
1 file changed
+1 -1
+1 -1
View File
@@ -207,7 +207,7 @@ detach() {
return 1
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
return 0
fi