<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Tong Sun</b> <span dir="ltr">&lt;suntong at <a href="http://cpan.org">cpan.org</a>&gt;</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><br>remove &#39;umount -a&#39;,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 &quot;$MNTPOINT&quot;/etc/init.d/ssh   ] &amp;&amp; &quot;$MNTPOINT&quot;/etc/init.d/ssh stop<br>
         [ -x &quot;$MNTPOINT&quot;/etc/init.d/mdadm ] &amp;&amp; &quot;$MNTPOINT&quot;/etc/init.d/mdadm stop<br>
         # ugly, but make sure we really don&#39;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 &quot;$MNTPOINT&quot;/bin/umount ] &amp;&amp; chroot &quot;$MNTPOINT&quot; umount $ARG &gt;/dev/null 2&gt;&amp;1 || true<br>
         done<br>
         umount &quot;$MNTPOINT&quot;/dev &gt;/dev/null 2&gt;&amp;1 || true<br>
<font color="#888888">--<br>
1.7.1<br>
<br>
</font></div><br>