From 66f1a69f10f300201a47c64e521d30526a83266e Mon Sep 17 00:00:00 2001 From: Roger Luethi Date: Sun, 15 Mar 2015 12:21:51 +0100 Subject: [PATCH] labs: fix color output in osbash.sh The last line of osbash does not output color because the "-e" flag is missing in the echo statement. This patch supplies the missing flag and wraps the line at 80 characters. Change-Id: I38856d6a14d7764a4b8b01f7fdc79ee1d8884f72 --- labs/osbash.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/labs/osbash.sh b/labs/osbash.sh index 48958d25..32ba9db3 100755 --- a/labs/osbash.sh +++ b/labs/osbash.sh @@ -224,4 +224,5 @@ vm_build_nodes "$CMD" #------------------------------------------------------------------------------- ENDTIME=$(date +%s) echo -e >&2 "${CStatus:-}$(date) osbash finished successfully${CReset:-}" -echo "${CStatus:-}osbash completed in $(($ENDTIME - $STARTTIME)) seconds.${CReset:-}" +echo -e >&2 "${CStatus:-}osbash completed in $(($ENDTIME - $STARTTIME))" \ + "seconds.${CReset:-}"