Skip to content

Instantly share code, notes, and snippets.

@drewr drewr/
Created Mar 19, 2010

What would you like to do?
case $? in
0) echo success;;
1) echo warn;;
*) echo fail;;
## % sh
## warn
echo dying 1
exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.