summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-12-31 12:24:00 +0100
committerJames Rayner <james@archlinux.org>2009-12-31 12:24:00 +0100
commit525ce5aeaa03ab8939bf2eac757bc8d1fad62c43 (patch)
tree8b083b53980f17f891c5f99a59d842775845d298 /src/network
parent5868417487dca1717b6c4a740709c83954af96ab (diff)
downloadnetctl-525ce5aeaa03ab8939bf2eac757bc8d1fad62c43.tar.gz
netctl-525ce5aeaa03ab8939bf2eac757bc8d1fad62c43.tar.xz
fix error bringing interface down
Diffstat (limited to 'src/network')
-rw-r--r--src/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network b/src/network
index 88c57dd..70f639f 100644
--- a/src/network
+++ b/src/network
@@ -355,7 +355,7 @@ bring_interface()
ip link set dev "$INTERFACE" up &>/dev/null
sleep "${UP_SLEEP:-2}"
;;
- flush)
+ flush|down)
if ! ( eval $IFACE_DOWN ); then
return 1
fi