diff options
author | Mike Frysinger <vapier@chromium.org> | 2017-09-23 05:27:44 -0400 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-09-25 15:52:47 -0700 |
commit | 6d301ca142846f54d55b75b1c77439ce2c25835e (patch) | |
tree | 7c1e339b1dffe2251b731a95fe8b613752cfef71 | |
parent | 5337484629c87d0fa6a1fa0aa598f3cad5a19f37 (diff) | |
download | vboot-6d301ca142846f54d55b75b1c77439ce2c25835e.tar.gz |
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>
-rw-r--r-- | scripts/image_signing/common.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/image_signing/common.sh b/scripts/image_signing/common.sh index f100be56..f2fedfa2 100644 --- a/scripts/image_signing/common.sh +++ b/scripts/image_signing/common.sh @@ -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) |