[issue806] final fix
Tong Sun
bts at bts.grml.org
Wed Jun 9 04:07:16 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
Cc: Tong Sun <suntong at cpan.org>, suntong001 at gmail.com
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, 3210
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/fa84f2d0/attachment.htm>
More information about the Bugs-changes
mailing list