diff options
author | Chris Dunlap <[email protected]> | 2015-07-28 15:52:18 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-07-30 11:52:35 -0700 |
commit | 6f1eccff2c264bf44c63ca40a9279fffc3b5d5b5 (patch) | |
tree | ba2e76e32a6b144c0236576976ec64159c6af63a /cmd | |
parent | 7e8bddd01952722b8f8bda773b3c96cb49b2e2bc (diff) |
Fix whitespace in zed_log_err
This commit fixes the two adjacent spaces that appear in zed_log_err()
messages when ZEVENT_EID is undefined.
Signed-off-by: Chris Dunlap <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/zed/zed.d/zed-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zed/zed.d/zed-functions.sh b/cmd/zed/zed.d/zed-functions.sh index cc4f69667..83c36ba6f 100644 --- a/cmd/zed/zed.d/zed-functions.sh +++ b/cmd/zed/zed.d/zed-functions.sh @@ -75,7 +75,7 @@ zed_log_msg() zed_log_err() { logger -p "${ZED_SYSLOG_PRIORITY}" -t "${ZED_SYSLOG_TAG}" -- "error:" \ - "$(basename -- "$0"):" "${ZEVENT_EID:+"eid=${ZEVENT_EID}:"}" "$@" + "$(basename -- "$0"):""${ZEVENT_EID:+" eid=${ZEVENT_EID}:"}" "$@" } |