bash-util/errhandl.bash

3 lines
105 B
Bash
Raw Normal View History

2023-02-22 21:41:54 -06:00
# Don't want subsequent commands to run after nonzero exit? Wrappy in happy!
happy() { $@ || exit $?; }