Skip to content

Instantly share code, notes, and snippets.

@samueldr

samueldr/test.sh Secret

Created October 29, 2020 23:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samueldr/6ed4b45f6c17a7d1888bae8676beb5fd to your computer and use it in GitHub Desktop.
Save samueldr/6ed4b45f6c17a7d1888bae8676beb5fd to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
shopt -s inherit_errexit
set -e
fn() {
false
echo FAIL
}
fn && echo 'uh?'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment