Latest playbookMake Mac Admin Scripts Fail Loudly and Clean Up After Themselves With set, trap and mktemp
Mac script reports success after failing halfway? Add set -u, pipefail, trap EXIT and mktemp -d, then test under /bin/bash.
2 Dec 2026 11 minOpen the playbook






