From e29855f7fd842b1875716b10fa55885a41647ead Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Mon, 12 May 2025 05:27:02 -0600 Subject: [PATCH] list: Clear /tmp of list files before starting --- usr/local/share/bastille/list.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr/local/share/bastille/list.sh b/usr/local/share/bastille/list.sh index 32a9924c..906ba593 100644 --- a/usr/local/share/bastille/list.sh +++ b/usr/local/share/bastille/list.sh @@ -665,6 +665,9 @@ while [ "$#" -gt 0 ]; do esac done +# Clear tmp directory +rm -rf /tmp/bastille_list_* + # Perform basic list if no args if [ "$#" -eq 0 ]; then # List json format, otherwise list all jails