Skip to content

Commit 3482c2b

Browse files
authored
zed: fix sending emails (#12292)
Commit 6fc3099 broke the quoting when invoking the mail program, revert that change. Signed-off-by: Laurențiu Nicola <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]>
1 parent 6a19dea commit 3482c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/zed/zed.d/zed-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ zed_notify_email()
267267
-e "s/@SUBJECT@/${subject}/g")"
268268

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

0 commit comments

Comments
 (0)