Skip to content

Commit

Permalink
Explicitly don't fail on error in library calls (required for conditi…
Browse files Browse the repository at this point in the history
…onals).
  • Loading branch information
awalsh128 committed Mar 3, 2024
1 parent d6bf97c commit e4d35b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

# Don't fail on error. We use the exit status as a conditional.
#
# This is the default behavior but can be overriden by the caller in the
# SHELLOPTS env var.
set +e

###############################################################################
Expand Down

0 comments on commit e4d35b2

Please sign in to comment.