Merge pull request #1045 from BastilleBSD/tschettervictor-patch-1

list: Clear /tmp of list files before starting
This commit is contained in:
tschettervictor
2025-05-12 05:28:47 -06:00
committed by GitHub

View File

@@ -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