projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d39c8df
)
the first `rmdir "$MNTPOINT"` needs `|| true`
author
Patrick Schleizer
<adrelanos@whonix.org>
Thu, 7 Dec 2023 18:52:36 +0000
(13:52 -0500)
committer
Patrick Schleizer
<adrelanos@whonix.org>
Thu, 7 Dec 2023 18:52:36 +0000
(13:52 -0500)
because it will not always work
will not work in cases where /dev etc is still mounted inside the chroot
grml-debootstrap
patch
|
blob
|
history
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
29ae03f
..
bac28b0
100755
(executable)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-258,7
+258,7
@@
cleanup() {
# Remove temporary mountpoint again
if echo "$MNTPOINT" | grep -q '/mnt/debootstrap\.' ; then
if [ -d "$MNTPOINT" ] ; then
- rmdir "$MNTPOINT"
+ rmdir "$MNTPOINT"
|| true
fi
fi