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

9 lines
143 B
Text

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