<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Tong Sun</b> <span dir="ltr"><<a href="mailto:suntong@cpan.org">suntong@cpan.org</a>></span><br>Date: Tue, Jun 8, 2010 at 5:50 PM<br>
Subject: [PATCH] [issue806] final fix<br>To: <a href="mailto:grml-devel@ml.grml.org">grml-devel@ml.grml.org</a><br>Cc: Tong Sun <<a href="mailto:suntong@cpan.org">suntong@cpan.org</a>>, <a href="mailto:suntong001@gmail.com">suntong001@gmail.com</a><br>
<br><br>remove 'umount -a',see<br>
<a href="http://bts.grml.org/grml/issue806" target="_blank">http://bts.grml.org/grml/issue806</a><br>
---<br>
grml-debootstrap | 2 +-<br>
1 files changed, 1 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/grml-debootstrap b/grml-debootstrap<br>
index dc4006d..f9b5ebb 100755<br>
--- a/grml-debootstrap<br>
+++ b/grml-debootstrap<br>
@@ -644,7 +644,7 @@ bailout(){<br>
[ -x "$MNTPOINT"/etc/init.d/ssh ] && "$MNTPOINT"/etc/init.d/ssh stop<br>
[ -x "$MNTPOINT"/etc/init.d/mdadm ] && "$MNTPOINT"/etc/init.d/mdadm stop<br>
# ugly, but make sure we really don't leave anything (/proc /proc is intended)<br>
- for ARG in /sys -a /proc /proc ; do<br>
+ for ARG in /sys /proc /proc ; do<br>
[ -x "$MNTPOINT"/bin/umount ] && chroot "$MNTPOINT" umount $ARG >/dev/null 2>&1 || true<br>
done<br>
umount "$MNTPOINT"/dev >/dev/null 2>&1 || true<br>
<font color="#888888">--<br>
1.7.1<br>
<br>
</font></div><br>