Skip to content

Commit

Permalink
enable pipefail
Browse files Browse the repository at this point in the history
  • Loading branch information
arcxio committed Jun 24, 2024
1 parent 1fede32 commit a1d0542
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pa
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,10 @@ main() {
# prevent the password from leaking.
set +x

# Ensure that pipelines return status of the
# last failed command.
set -o pipefail

# Restrict permissions of any new files to
# only the current user.
umask 077
Expand Down

0 comments on commit a1d0542

Please sign in to comment.