summaryrefslogtreecommitdiff
path: root/frontend/lb
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/lb')
-rwxr-xr-xfrontend/lb6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/lb b/frontend/lb
index 4a218ddf0..5aa8b1a45 100755
--- a/frontend/lb
+++ b/frontend/lb
@@ -75,5 +75,9 @@ else
exit 1
fi
-Echo "[%s] %s" "$(date +'%F %T')" "lb ${COMMAND} $(echo ${@})"
+_CMD_LABEL="lb ${COMMAND}"
+if [ "${_COLOR_OUT}" = "true" ]; then
+ _CMD_LABEL="${CYAN}${_CMD_LABEL}${NO_COLOR}"
+fi
+Echo "[%s] ${_CMD_LABEL} %s" "$(date +'%F %T')" "$(echo ${@})"
${ENV} exec "${SCRIPT}" "${@}"