Created
September 4, 2014 23:05
-
-
Save ab/7fdaa4bf410de1ac5054 to your computer and use it in GitHub Desktop.
set -e nonsense
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| false() { | |
| echo 'this is false' | |
| command false | |
| } | |
| echo 'starting' | |
| if false; then | |
| echo 'true block' | |
| else | |
| echo 'else block' | |
| fi | |
| echo 'done' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment