diskimage-builder/lib/die

10 lines
143 B
Text
Raw Normal View History

2012-11-09 11:04:13 +00:00
# Prints "message" and exits
# Usage: die "message"
function die() {
local exitcode=$?
set +o xtrace
echo $@
exit $exitcode
}