From 23f975dfcd95df2b06ab86e13072f5e9cba5c9d2 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Wed, 7 Nov 2012 01:44:44 +0000 Subject: checkbashisms: Fix redirection order. Signed-off-by: Robin H. Johnson --- sh/udhcpc-hook.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh') 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 -- cgit v1.2.3