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
cleanup-cruft
Andrew Gaffney 17 years ago
parent c5bcb8d178
commit 4cde424af9

@ -2,6 +2,9 @@
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $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, 04 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts,
generic/linuxrc: generic/linuxrc:
Switch to double quotes where we're interpolating variables, because I suck Switch to double quotes where we're interpolating variables, because I suck

@ -99,7 +99,7 @@ findmediamount() {
# else # else
# mount -r -t auto ${x} ${mntdir} &>/dev/null # mount -r -t auto ${x} ${mntdir} &>/dev/null
# fi # fi
mount -r -t ${CDROOT_TYPE} ${x} ${mntdir} &>/dev/null mount -r -t ${CDROOT_TYPE} ${x} ${mntdir} >/dev/null 2>&1
if [ "$?" = '0' ] if [ "$?" = '0' ]
then then
# Check for the media # Check for the media

Loading…
Cancel
Save