get error handling right
This commit is contained in:
1 parent
73f504afd6
commit
7a53efe66c
1 file changed
+4
-4
@@ -169,10 +169,10 @@ launch() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ip link set $LOCAL_IFNAME master $BRIDGE
|
ip link set $LOCAL_IFNAME master $BRIDGE &&
|
||||||
ip link set $LOCAL_IFNAME up
|
ip link set $LOCAL_IFNAME up &&
|
||||||
ip netns exec $NETNS ip link set $GUEST_IFNAME name $CONTAINER_IFNAME
|
ip netns exec $NETNS ip link set $GUEST_IFNAME name $CONTAINER_IFNAME &&
|
||||||
ip netns exec $NETNS ip link set $CONTAINER_IFNAME up
|
ip netns exec $NETNS ip link set $CONTAINER_IFNAME up &&
|
||||||
check_command_and_run ethtool ip netns exec $NETNS ethtool -K eth0 tx off >/dev/null
|
check_command_and_run ethtool ip netns exec $NETNS ethtool -K eth0 tx off >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user