Commit 0d0ff7bc authored by Glenn Morris's avatar Glenn Morris
Browse files

Tobias C. Rittweiler <tcr at freebits.de> (tiny change)

(sendmail-send-it): `call-process-region' can return a string.  (Bug#2428)
parent a1e32f89
......@@ -1168,8 +1168,13 @@ external program defined by `sendmail-program'."
)
)
(exit-value (apply 'call-process-region args)))
(or (null exit-value) (eq 0 exit-value)
(error "Sending...failed with exit value %d" exit-value)))
(cond ((or (null exit-value) (eq 0 exit-value)))
((numberp exit-value)
(error "Sending...failed with exit value %d" exit-value))
((stringp exit-value)
(error "Sending...terminated by signal: %s" exit-value))
(t
(error "SENDMAIL-SEND-IT -- fall through: %S" exit-value))))
(or fcc-was-found
(error "No recipients")))
(if mail-interactive
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment