checkbashisms: Fix redirection order.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
parent
ca6019031a
commit
23f975dfcd
@ -21,7 +21,7 @@ ccwgroup_load_modules()
|
||||
|
||||
# verify the specific interface is supported
|
||||
if [ ! -d /sys/bus/ccwgroup/drivers/$1 ] ; then
|
||||
modprobe $1 >& /dev/null
|
||||
modprobe $1 >/dev/null 2>&1
|
||||
if [ ! -d /sys/bus/ccwgroup/drivers/$1 ] ; then
|
||||
eerror "$1 support missing in kernel"
|
||||
return 1
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user