ran 'go fmt'; cosmetic changes

This commit is contained in:
Bryan Boreham committed 2014-08-29 14:51:31 +01:00
1 parent a113da0e34
commit 94e00e2c8e
4 files changed
+22 -21

No files matched your search

+2 -1
View File
@@ -106,7 +106,8 @@ ip netns exec $NSPID ip link set $GUEST_IFNAME name $CONTAINER_IFNAME
ip netns exec $NSPID ip addr add $IPADDR dev $CONTAINER_IFNAME
ip netns exec $NSPID ip link set $CONTAINER_IFNAME up
if command -v ethtool >/dev/null 2>&1 ; then
if [ command -v ethtool >/dev/null 2>&1 ]
then
ip netns exec $NSPID ethtool -K $IFACE tx off > /dev/null
else
echo "Cannot find ethtool; continuing without it" >&2