[issue806] final fix

Tong Sun bts at bts.grml.org
Wed Jun 9 04:08:41 CEST 2010


Tong Sun <suntong001 at gmail.com> added the comment:

---------- Forwarded message ----------
From: Tong Sun <suntong at cpan.org>
Date: Tue, Jun 8, 2010 at 5:50 PM
Subject: [PATCH] [issue806] final fix
To: grml-devel at ml.grml.org

remove 'umount -a',see
http://bts.grml.org/grml/issue806
---
 grml-debootstrap |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/grml-debootstrap b/grml-debootstrap
index dc4006d..f9b5ebb 100755
--- a/grml-debootstrap
+++ b/grml-debootstrap
@@ -644,7 +644,7 @@ bailout(){
        [ -x "$MNTPOINT"/etc/init.d/ssh   ] && "$MNTPOINT"/etc/init.d/ssh
stop
        [ -x "$MNTPOINT"/etc/init.d/mdadm ] && "$MNTPOINT"/etc/init.d/mdadm
stop
        # ugly, but make sure we really don't leave anything (/proc /proc is
intended)
-        for ARG in /sys -a /proc /proc ; do
+        for ARG in /sys /proc /proc ; do
          [ -x "$MNTPOINT"/bin/umount ] && chroot "$MNTPOINT" umount $ARG
>/dev/null 2>&1 || true
        done
        umount "$MNTPOINT"/dev >/dev/null 2>&1 || true
--
1.7.1

----------
assignedto: mika
files: unnamed
messages: 2865, 2866, 2871, 2872, 2873, 2931, 2954, 3211
nosy: mika, suntong
priority: bug
status: chatting
title: final fix

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue806>
_____________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.grml.org/pipermail/bugs-changes/attachments/20100609/de7e8ec3/attachment.htm>


More information about the Bugs-changes mailing list