summaryrefslogtreecommitdiff
path: root/root/sbin/ifdown
diff options
context:
space:
mode:
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