diskimage-builder/lib/die
2012-11-10 00:04:13 +13:00

10 lines
143 B
Plaintext

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