diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-11-29 16:38:52 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-11-29 16:38:52 +0100 |
commit | 0259bba352e835936fe154e0651af621069727e3 (patch) | |
tree | f9f19ca41e2546b5d43a9e06136d66dcb2dc4463 /bin/chroot_tester.sh | |
parent | c22fd2bd3562e75d064b0dac6860838361b44b39 (diff) | |
download | jenkins.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-x | bin/chroot_tester.sh | 2 |
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() { |