diff --git a/errhandl.bash b/errhandl.bash new file mode 100644 index 0000000..816b432 --- /dev/null +++ b/errhandl.bash @@ -0,0 +1,2 @@ +# Don't want subsequent commands to run after nonzero exit? Wrappy in happy! +happy() { $@ || exit $?; }