mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-08 17:05:44 +00:00
image_signing: fix logging multiple args
BUG=None TEST=ensure_sane_lsb-release.sh errors now include the full string BRANCH=None Change-Id: I460ec5e2127a57e7576214fe8fde9e511f940755 Reviewed-on: https://chromium-review.googlesource.com/680038 Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: David Riley <davidriley@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
5337484629
commit
6d301ca142
@@ -51,21 +51,21 @@ V_VIDOFF="\e[0m"
|
||||
# Taken from src/scripts/common.sh.
|
||||
# Arg: MESSAGE
|
||||
info() {
|
||||
echo -e >&2 "${V_BOLD_GREEN}${CROS_LOG_PREFIX:-}INFO : $1${V_VIDOFF}"
|
||||
echo -e >&2 "${V_BOLD_GREEN}${CROS_LOG_PREFIX:-}INFO : $*${V_VIDOFF}"
|
||||
}
|
||||
|
||||
# Prints a warning message.
|
||||
# Taken from src/scripts/common.sh.
|
||||
# Arg: MESSAGE
|
||||
warn() {
|
||||
echo -e >&2 "${V_BOLD_YELLOW}${CROS_LOG_PREFIX:-}WARNING: $1${V_VIDOFF}"
|
||||
echo -e >&2 "${V_BOLD_YELLOW}${CROS_LOG_PREFIX:-}WARNING: $*${V_VIDOFF}"
|
||||
}
|
||||
|
||||
# Prints the specified error and exit the script with an error code.
|
||||
# Taken from src/scripts/common.sh.
|
||||
# Args: MESSAGE
|
||||
error() {
|
||||
echo -e >&2 "${V_BOLD_RED}${CROS_LOG_PREFIX:-}ERROR : $1${V_VIDOFF}"
|
||||
echo -e >&2 "${V_BOLD_RED}${CROS_LOG_PREFIX:-}ERROR : $*${V_VIDOFF}"
|
||||
}
|
||||
|
||||
TEMP_LOOP_LIST=$(mktemp)
|
||||
|
||||
Reference in New Issue
Block a user