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

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