commit: 73c4b5312df5796df116e59edad6034520943b00
Author: Fernando Reyes (likewhoa) <design <AT> missionaccomplish <DOT> com>
AuthorDate: Fri May 30 02:06:42 2014 +0000
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 18:21:15 2015 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=73c4b531
Output cleaning
defaults/initrd.scripts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index 14800e4..0e44e61 100644
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -335,7 +335,7 @@ setup_aufs() {
else
CHANGESDEV=${AUFS}
good_msg "mounting ${CHANGESDEV} to ${MEMORY} for aufs
support"
- mount -t auto ${CHANGESDEV} ${CHANGESMNT}
+ mount -t auto ${CHANGESDEV} ${CHANGESMNT} &>/dev/null
ret=$?
if [ "${ret}" -ne 0 ]
then
@@ -383,7 +383,7 @@ setup_aufs() {
# empty or we were not able to mount the storage device
if [ "${CDROOT}" -eq '1' -a ! -f
${CHANGESMNT}/${AUFS_CHANGESFILE} ]
then
- umount ${MEMORY}
+ umount ${MEMORY} &>/dev/null
bad_msg "failed to find ${AUFS_CHANGESFILE} file on
${CHANGESDEV}"
bad_msg "create an ext2 ${AUFS_CHANGESFILE} file on
this device if you wish to use it for aufs"
bad_msg "falling back to ramdisk based aufs for safety"