From c3416b8628dd769e9e782d42a993e3a680350aea Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Tue, 12 Jan 2021 12:50:50 -0600 Subject: [PATCH] terminate each tmp cleanup --- lxc/execute | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lxc/execute b/lxc/execute index 03cb6a9..704202f 100755 --- a/lxc/execute +++ b/lxc/execute @@ -146,10 +146,10 @@ timeout -s KILL 10 \ lxc-attach --clear-env -n piston -- \ /bin/bash -l -c "\ for i in {1..100}; do pkill -u runner$newinc --signal SIGKILL; done ;\ - find /tmp -user runner$newinc -exec /bin/rm -rf {} \;\ - find /var/tmp -user runner$newinc -exec /bin/rm -rf {} \;\ - find /dev/shm -user runner$newinc -exec /bin/rm -rf {} \;\ - find /run/lock -user runner$newinc -exec /bin/rm -rf {} \;\ + find /tmp -user runner$newinc -exec /bin/rm -rf {} \; ;\ + find /var/tmp -user runner$newinc -exec /bin/rm -rf {} \; ;\ + find /dev/shm -user runner$newinc -exec /bin/rm -rf {} \; ;\ + find /run/lock -user runner$newinc -exec /bin/rm -rf {} \; ;\ " > /dev/null 2>&1 & rm -rf $basepath/tmp/$epoch