Skip to content

Instantly share code, notes, and snippets.

@emadflash
Created May 22, 2021 09:58
Show Gist options
  • Save emadflash/f35e54fc2f90550d20c6f6185cac8cbe to your computer and use it in GitHub Desktop.
Save emadflash/f35e54fc2f90550d20c6f6185cac8cbe to your computer and use it in GitHub Desktop.
deliberately exit bash script options; helps in tests (idk)
#!/usr/bin/env bash
set -e
set -u
set -o pipefail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment