mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
Update failexit.mrg
This commit is contained in:
parent
30e739b08c
commit
739b73004f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user