Skip to content

Commit

Permalink
zed: fix sending emails
Browse files Browse the repository at this point in the history
Commit 6fc3099 broke the quoting when invoking the mail program, revert part of that change
  • Loading branch information
lnicola authored Jun 28, 2021
1 parent f20fb19 commit bf9a5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/zed/zed.d/zed-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ zed_notify_email()
-e "s/@SUBJECT@/${subject}/g")"

# shellcheck disable=SC2086
${ZED_EMAIL_PROG} ${ZED_EMAIL_OPTS} < "${pathname}" >/dev/null 2>&1
eval "${ZED_EMAIL_PROG}" ${ZED_EMAIL_OPTS} < "${pathname}" >/dev/null 2>&1
rv=$?
if [ "${rv}" -ne 0 ]; then
zed_log_err "$(basename "${ZED_EMAIL_PROG}") exit=${rv}"
Expand Down

0 comments on commit bf9a5e5

Please sign in to comment.