From a61715d42587be90ae2a5769039d08194cd51487 Mon Sep 17 00:00:00 2001 From: Greg Thornton Date: Fri, 21 Aug 2015 15:42:58 -0500 Subject: [PATCH] Fix log escape handling --- ievms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ievms.sh b/ievms.sh index bed3d75..e7f3d9a 100755 --- a/ievms.sh +++ b/ievms.sh @@ -35,7 +35,7 @@ guest_pass="Passw0rd!" # ## Utilities # Print a message to the console. -log() { printf "$*\n" ; return $? ; } +log() { printf '%s\n' "$*" ; return $? ; } # Print an error message to the console and bail out of the script. fail() { log "\nERROR: $*\n" ; exit 1 ; }