diff --git a/driveAtlas.sh b/driveAtlas.sh index b99ba1b..f5b453b 100644 --- a/driveAtlas.sh +++ b/driveAtlas.sh @@ -5,6 +5,12 @@ # Maps physical drive bays to logical device names using PCI paths #============================================================================== +# Shell safety options: +# -o pipefail: Exit status of pipe is rightmost non-zero exit code +# Note: Not using -e (errexit) to allow graceful degradation when tools fail +# Note: Not using -u (nounset) as script uses ${var:-default} patterns +set -o pipefail + VERSION="1.1.0" #------------------------------------------------------------------------------