From 4cde424af98f8c6b4154803ac411147d156bb01e Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Mon, 4 Feb 2008 19:32:51 +0000 Subject: [PATCH] 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 --- ChangeLog | 3 +++ generic/initrd.scripts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.26.2