diff --git a/failexit.mrg b/failexit.mrg index 7a15146..544e508 100644 --- a/failexit.mrg +++ b/failexit.mrg @@ -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