10 lines
143 B
Text
10 lines
143 B
Text
|
# Prints "message" and exits
|
||
|
# Usage: die "message"
|
||
|
function die() {
|
||
|
local exitcode=$?
|
||
|
set +o xtrace
|
||
|
echo $@
|
||
|
exit $exitcode
|
||
|
}
|
||
|
|