summaryrefslogtreecommitdiff
path: root/root/sbin/ifdown
diff options
context:
space:
mode:
authoropenwrt <openwrt@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-07-27 07:27:13 +0000
committeropenwrt <openwrt@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-07-27 07:27:13 +0000
commitf6ea7efa4b6dae8de844bb6bc1bcf6e52e375ba0 (patch)
treee9ae0639b04197b20c615c56d1ff78ced0d5e1cf /root/sbin/ifdown
parentda723a7fdefaa9d3e792aaabf40a033dab768e3d (diff)
fix syntax error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@113 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'root/sbin/ifdown')
-rwxr-xr-xroot/sbin/ifdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/root/sbin/ifdown b/root/sbin/ifdown
index d1d19b0333..4c7e982117 100755
--- a/root/sbin/ifdown
+++ b/root/sbin/ifdown
@@ -4,5 +4,5 @@
debug "### ifdown $type ###"
if=$(nvram_get ${type}_ifname)
if_valid $if || return
- kill $(cat /var/run/${if}.pid 2>-) 2>-
+ kill $(cat /var/run/${if}.pid 2>&-) 2>&-
$DEBUG ifconfig $if down