summaryrefslogtreecommitdiffstats
path: root/bin/chroot_tester.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-29 16:38:52 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-29 16:38:52 +0100
commit0259bba352e835936fe154e0651af621069727e3 (patch)
treef9f19ca41e2546b5d43a9e06136d66dcb2dc4463 /bin/chroot_tester.sh
parentc22fd2bd3562e75d064b0dac6860838361b44b39 (diff)
downloadjenkins.debian.net-0259bba352e835936fe154e0651af621069727e3.tar.xz
Use rm -rf --one-file-system to delete chroots, thanks to Andreas Beckmann for the idea.
Diffstat (limited to 'bin/chroot_tester.sh')
-rwxr-xr-xbin/chroot_tester.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chroot_tester.sh b/bin/chroot_tester.sh
index 83c4dd12..50e4add5 100755
--- a/bin/chroot_tester.sh
+++ b/bin/chroot_tester.sh
@@ -49,7 +49,7 @@ cleanup_all() {
sudo umount -l $CHROOT_TARGET/run/lock || true
sudo umount -l $CHROOT_TARGET/run/shm || true
sudo umount -l $CHROOT_TARGET/run || true
- sudo rm -rf $CHROOT_TARGET
+ sudo rm -rf --one-file-system $CHROOT_TARGET
}
execute_ctmpfile() {