From: Andrew Gaffney Date: Mon, 4 Feb 2008 19:32:51 +0000 (+0000) Subject: Change &>/dev/null to >/dev/null 2>&1 because busybox ash sucks X-Git-Tag: v3.4.10.902~162 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4cde424af98f8c6b4154803ac411147d156bb01e;p=genkernel.git Change &>/dev/null to >/dev/null 2>&1 because busybox ash sucks git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@590 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/ChangeLog b/ChangeLog index cebdbbe..1c65d33 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 04 Feb 2008; Andrew Gaffney generic/initrd.scripts: + Change &>/dev/null to >/dev/null 2>&1 because busybox ash sucks + 04 Feb 2008; Andrew Gaffney generic/initrd.scripts, generic/linuxrc: Switch to double quotes where we're interpolating variables, because I suck diff --git a/generic/initrd.scripts b/generic/initrd.scripts index 111bc1f..d0b8c43 100644 --- a/generic/initrd.scripts +++ b/generic/initrd.scripts @@ -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