Change &>/dev/null to >/dev/null 2>&1 because busybox ash sucks
authorAndrew Gaffney <agaffney@gentoo.org>
Mon, 4 Feb 2008 19:32:51 +0000 (19:32 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Mon, 4 Feb 2008 19:32:51 +0000 (19:32 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@590 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
generic/initrd.scripts

index cebdbbee6cc41cc8a15cd45fdbefecfebb11bd35..1c65d33f00e70c4616e4ec48a7249e43d6f0cec0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  04 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts:
+  Change &>/dev/null to >/dev/null 2>&1 because busybox ash sucks
+
   04 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts,
   generic/linuxrc:
   Switch to double quotes where we're interpolating variables, because I suck
index 111bc1f3bbfc35e423c3b01dc2acf03cc62f4457..d0b8c43fa57748c553365fda49055b79fdf34b32 100644 (file)
@@ -99,7 +99,7 @@ findmediamount() {
 #                              else
 #                                      mount -r -t auto ${x} ${mntdir} &>/dev/null
 #                              fi
-                               mount -r -t ${CDROOT_TYPE} ${x} ${mntdir} &>/dev/null
+                               mount -r -t ${CDROOT_TYPE} ${x} ${mntdir} >/dev/null 2>&1
                                if [ "$?" = '0' ]
                                then
                                        # Check for the media