Files
computer-playbook/scripts/container
kevinveenbirkenbachandClaude Opus 5.5 12a627d693 fix(purge): stop reporting a successful database drop as failed
The drop and truncate helpers ended with `[[ $rc -ne 0 ]] && warn`,
which returns 1 when the command succeeded. The per-stack subshell runs
on the left of `||`, where set -e is suspended, so its status is that
of the last helper: every successful MariaDB drop printed "DB purge
failed (rc=1)" and the script exited 1. The helpers now end with an if
statement, which returns 0 when nothing failed and still warns when
something did.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 23:36:33 +02:00
..

Container Scripts

This directory holds container-side helpers grouped by area. Use the README in each child directory as the canonical entry point for that area. For the canonical Make target index that invokes these helpers, see make.md.

Areas

  • purge/ for container-local cleanup helpers