checkbashisms: Fix redirection order.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
Robin H. Johnson
2012-11-07 01:44:44 +00:00
parent ca6019031a
commit 23f975dfcd
2 changed files with 2 additions and 2 deletions

View File

@@ -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