From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1L5lj6-0006J4-7Z for garchives@archives.gentoo.org; Thu, 27 Nov 2008 18:36:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4575BE0531; Thu, 27 Nov 2008 18:36:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0318CE0531 for ; Thu, 27 Nov 2008 18:36:30 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 9C3CF64551 for ; Thu, 27 Nov 2008 18:36:29 +0000 (UTC) Received: from vapier by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1L5lj3-0007wZ-7E for gentoo-commits@lists.gentoo.org; Thu, 27 Nov 2008 18:36:29 +0000 From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: mount-boot.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: mount-boot.eclass X-VCS-Directories: eclass X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: Sender: Mike Frysinger Date: Thu, 27 Nov 2008 18:36:29 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 86e89a98-5e3a-4149-93b2-dccead0c3f5c X-Archives-Hash: 1c2d6ebb1c7680e4f7b7fc5866cfb742 vapier 08/11/27 18:36:29 Modified: mount-boot.eclass Log: dont send output to /dev/null ... if it worked, we would get no output = and if it failed, we want to see the output Revision Changes Path 1.15 eclass/mount-boot.eclass file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mount-boot.= eclass?rev=3D1.15&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mount-boot.= eclass?rev=3D1.15&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mount-boot.= eclass?r1=3D1.14&r2=3D1.15 Index: mount-boot.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/mount-boot.eclass,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- mount-boot.eclass 2 Jun 2008 15:38:52 -0000 1.14 +++ mount-boot.eclass 27 Nov 2008 18:36:29 -0000 1.15 @@ -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 @@ einfo "Your boot partition, detected as being mounted as /boot, is re= ad-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 @@ 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"