aboutsummaryrefslogtreecommitdiff
path: root/sh/udhcpc-hook.sh.in
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-11-07 01:44:44 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-11-07 01:44:56 +0000
commit23f975dfcd95df2b06ab86e13072f5e9cba5c9d2 (patch)
tree02dd640a0e038a898201d5950eddab380b4e770a /sh/udhcpc-hook.sh.in
parentca6019031af96eabb471080e91374b44f176d113 (diff)
checkbashisms: Fix redirection order.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sh/udhcpc-hook.sh.in')
-rw-r--r--sh/udhcpc-hook.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/udhcpc-hook.sh.in b/sh/udhcpc-hook.sh.in
index 1a581044..31f5e689 100644
--- a/sh/udhcpc-hook.sh.in
+++ b/sh/udhcpc-hook.sh.in
@@ -79,7 +79,7 @@ deconfig()
ifconfig "${interface}" 0.0.0.0
if ! peer_var "${PEER_ROUTERS}" ; then
- while route del default dev "${interface}" >& /dev/null; do
+ while route del default dev "${interface}" >/dev/null 2>&1; do
:
done
fi