migrate: Include -y on destroy

This commit is contained in:
tschettervictor
2025-05-17 09:57:35 -06:00
committed by GitHub
parent c3b0bb4798
commit 8016917357

View File

@@ -295,7 +295,7 @@ migrate_jail() {
# Destroy old jail if OPT_DESTROY=1
if [ "${OPT_DESTROY}" -eq 1 ]; then
bastille destroy -af "${_jail}"
bastille destroy -afy "${_jail}"
fi
# Remove archives