Merge pull request 'fix: cmd_destroy unbound variable $2' (#192) from fix/issue-cmd-destroy-unbound-var into main
This commit was merged in pull request #192.
This commit is contained in:
@@ -523,7 +523,7 @@ cmd_destroy() {
|
|||||||
local target="${1:-}"
|
local target="${1:-}"
|
||||||
local force=false
|
local force=false
|
||||||
|
|
||||||
if [ "$2" = "-y" ]; then
|
if [ "${2:-}" = "-y" ]; then
|
||||||
force=true
|
force=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user