summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-27 18:36:29 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-27 18:36:29 +0000
commitc5dd06a76b5ac9795450e5491b2beefc2f65619b (patch)
treeaa4e4561cd4448aa3a1950b61d700c1d58445e30 /eclass/mount-boot.eclass
parentBump to 0.3.1 by request of upstream (diff)
downloadgentoo-2-c5dd06a76b5ac9795450e5491b2beefc2f65619b.tar.gz
gentoo-2-c5dd06a76b5ac9795450e5491b2beefc2f65619b.tar.bz2
gentoo-2-c5dd06a76b5ac9795450e5491b2beefc2f65619b.zip
dont send output to /dev/null ... if it worked, we would get no output and if it failed, we want to see the output
Diffstat (limited to 'eclass/mount-boot.eclass')
-rw-r--r--eclass/mount-boot.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/mount-boot.eclass b/eclass/mount-boot.eclass
index 598064b61978..3bc16d118ad7 100644
--- a/eclass/mount-boot.eclass
+++ b/eclass/mount-boot.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v 1.14 2008/06/02 15:38:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v 1.15 2008/11/27 18:36:29 vapier Exp $
#
# This eclass is really only useful for bootloaders.
#
@@ -33,7 +33,7 @@ mount-boot_mount_boot_partition() {
einfo "Your boot partition, detected as being mounted as /boot, is read-only."
einfo "Remounting it in read-write mode ..."
einfo
- mount -o remount,rw /boot &>/dev/null
+ mount -o remount,rw /boot
if [ "$?" -ne 0 ]; then
eerror
eerror "Unable to remount in rw mode. Please do it manually!"
@@ -47,7 +47,7 @@ mount-boot_mount_boot_partition() {
einfo
fi
elif [ -n "${fstabstate}" ] && [ -z "${procstate}" ]; then
- mount /boot -o rw &>/dev/null
+ mount /boot -o rw
if [ "$?" -eq 0 ]; then
einfo
einfo "Your boot partition was not mounted as /boot, but portage"