Files
driveAtlas/driveAtlas.sh
Jared Vititoe 6dc0b00efd Add shell safety options (pipefail)
Added 'set -o pipefail' to ensure pipe failures are detected.

Not using -e (errexit) as the script is designed for graceful
degradation when optional tools (smartctl, ceph) are missing.
Many commands intentionally redirect stderr to /dev/null.

Not using -u (nounset) as the script uses ${var:-default}
patterns extensively for optional variables.

Fixes: #23

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 12:18:02 -05:00

44 KiB