Commit 1d21bab9 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fixed the die function

The wrap function requires a trailing new line on all input so the die
function now pipes to it from a brace block with a trailing echo
parent fb4c3892
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -111,8 +111,7 @@ wrap ()
##
die ()
{
	printf -- "$@" | wrap ERROR:
	echo
	{ printf -- "$@"; echo; } | wrap ERROR:
	exit ${EXIT_CODE:-1}
} >&2