fix: cmd_destroy unbound variable $2 #192

Merged
shoko merged 1 commits from fix/issue-cmd-destroy-unbound-var into main 2026-04-06 11:30:05 +02:00

View File

@@ -523,7 +523,7 @@ cmd_destroy() {
local target="${1:-}"
local force=false
if [ "$2" = "-y" ]; then
if [ "${2:-}" = "-y" ]; then
force=true
fi