summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/B01_cleanup
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2016-11-15 11:11:46 -0800
committerHolger Levsen <holger@layer-acht.org>2016-11-15 22:08:52 +0100
commit1af5308a87d936183e4713c5702f570c8405a01b (patch)
tree4474e9849598e3efb83b9f6879f8496c1f8d2c30 /hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/B01_cleanup
parent38eed22d4c4f6c04b326e43c849cbf82d191c26b (diff)
downloadjenkins.debian.net-1af5308a87d936183e4713c5702f570c8405a01b.tar.xz
Do a lazy unmount of disorderfs.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/B01_cleanup')
-rwxr-xr-xhosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/B01_cleanup2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/B01_cleanup b/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/B01_cleanup
index bbea69fa..334e03a2 100755
--- a/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/B01_cleanup
+++ b/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/B01_cleanup
@@ -10,7 +10,7 @@ BUILDDIR="${BUILDDIR:-/tmp/buildd}"
# cease using disorderfs
if [ -d /tmp/disorderfs ] ; then
echo -n "Unmounting /tmp/disorderfs…"
- fusermount -u "$BUILDDIR"
+ fusermount -z -u "$BUILDDIR"
rmdir "$BUILDDIR"
mv /tmp/disorderfs "$BUILDDIR"
echo " done."