diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-12-05 23:27:29 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-12-05 23:27:29 +0100 |
commit | 5e1558ae35d81f023c35c3102db98017aef8c88a (patch) | |
tree | 72eb3c380f953da0b50bfd605baf32b566ebc723 /bin/d-i_builds.sh | |
parent | 95c3f9c338810604eef6f5585bcc8c7c9e6e30ee (diff) | |
download | jenkins.debian.net-5e1558ae35d81f023c35c3102db98017aef8c88a.tar.xz |
use fuser elsewhere
Diffstat (limited to 'bin/d-i_builds.sh')
-rwxr-xr-x | bin/d-i_builds.sh | 2 |
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" |