diff options
-rwxr-xr-x | bin/chroot_tester.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/chroot_tester.sh b/bin/chroot_tester.sh index 01e10a2b..44e0be9c 100755 --- a/bin/chroot_tester.sh +++ b/bin/chroot_tester.sh @@ -40,6 +40,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" |