diff mbox

[maintainer-tools,1/2] dim: Use -e on warn_or_fail to allow fo newlines

Message ID 1461843140-19122-1-git-send-email-joonas.lahtinen@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Joonas Lahtinen April 28, 2016, 11:32 a.m. UTC
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
---
 dim | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/dim b/dim
index d9c1be5..dbcb7d9 100755
--- a/dim
+++ b/dim
@@ -118,9 +118,9 @@  HELP=
 function warn_or_fail
 {
 	if [[ $FORCE ]] ; then
-		echo WARNING: $1, but continuing
+		echo -e WARNING: $1, but continuing
 	else
-		echo ERROR: $1, aborting
+		echo -e ERROR: $1, aborting
 		exit 1
 	fi
 }