Enable pipefail option for error handling

This commit is contained in:
Roy
2026-06-09 01:41:54 -07:00
committed by GitHub
parent 6e0c22411b
commit edfcb32c14
+1 -1
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -x # activate debugging (execution shown) set -x # activate debugging (execution shown)
#set -o pipefail # capture error from pipes set -o pipefail # capture error from pipes
# ENVIRONMENT VARIABLES # ENVIRONMENT VARIABLES
# Get the logged-in user, fallback to whoami if needed # Get the logged-in user, fallback to whoami if needed