aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-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