Update failexit.mrg

This commit is contained in:
kneutron 2021-04-09 15:27:32 -05:00 committed by GitHub
parent 30e739b08c
commit 739b73004f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
# failexit.mrg
# failexit.mrg - bash but might work as /bin/sh - can use as ' source ~/bin/failexit.mrg '
function failexit () {
echo '! Something failed! Code: '"$1 $2" # code # (and optional description)
exit $1