ansitest/failexit.mrg

7 lines
130 B
Plaintext
Raw Normal View History

2021-04-09 15:25:51 -05:00
# failexit.mrg
function failexit () {
echo '! Something failed! Code: '"$1 $2" # code # (and optional description)
exit $1
}