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