fix(cli): keep SLUG accessible to cleanup_all EXIT trap
cmd_start declared SLUG as local, but cleanup_all (registered as the EXIT/INT/TERM trap) calls pipelock_stop "$SLUG" after cmd_start has returned and the local is out of scope. With set -u this aborted shell teardown with "SLUG: unbound variable". Drop the local to match the convention already used for MANIFEST_FILE, CONTAINER, and STAGE_DIR. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Reference in New Issue
Block a user