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
This commit is contained in:
parent
b4da4b1964
commit
66f1a69f10
@ -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:-}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user