Add happy wrappy!
This commit is contained in:
parent
959eae6761
commit
1cde3473b5
1 changed files with 2 additions and 0 deletions
2
errhandl.bash
Normal file
2
errhandl.bash
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
# Don't want subsequent commands to run after nonzero exit? Wrappy in happy!
|
||||||
|
happy() { $@ || exit $?; }
|
||||||
Loading…
Add table
Add a link
Reference in a new issue