Skip to content

Commit

Permalink
enable pipefail for bash
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Aug 18, 2023
1 parent 96d5eb4 commit a5b2d58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions usr/bin/dist-installer-cli
Expand Up @@ -2050,6 +2050,7 @@ set_trap(){
if test "${curr_shell}" = "bash"; then
# shellcheck disable=SC2039,3040
set -o errtrace
set -o pipefail
fi
# shellcheck disable=SC2039,3047
trap 'handle_exit $? ${LINENO:-}' ERR
Expand Down

0 comments on commit a5b2d58

Please sign in to comment.