mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-29 00:40:27 +01:00
list: Clear /tmp of list files before starting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user