summaryrefslogtreecommitdiffstats
path: root/bin/d-i_builds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/d-i_builds.sh')
-rwxr-xr-xbin/d-i_builds.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/d-i_builds.sh b/bin/d-i_builds.sh
index 516f427a..3ad8e02b 100755
--- a/bin/d-i_builds.sh
+++ b/bin/d-i_builds.sh
@@ -36,6 +36,8 @@ export TMPFILE=$(mktemp -u)
export CTMPFILE=$CHROOT_TARGET/$TMPFILE
cleanup_all() {
+ # List the processes using the partition
+ fuser -mv $CHROOT_TARGET
# test if $CHROOT_TARGET starts with /chroots/
if [ "${CHROOT_TARGET:0:9}" != "/chroots/" ] ; then
echo "HALP. CHROOT_TARGET = $CHROOT_TARGET"