diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-05-27 19:10:51 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-05-27 19:10:51 +0000 |
commit | 3b316a22b8df8c419d451b8b288bfff54d677a52 (patch) | |
tree | 52699c0882b118a55fbf54d1d402bf9377b74b8b /mail | |
parent | 792d52a6a67f137e1aeedbac9f44d0df55aad898 (diff) | |
download | mailutils-3b316a22b8df8c419d451b8b288bfff54d677a52.tar.gz mailutils-3b316a22b8df8c419d451b8b288bfff54d677a52.tar.bz2 |
(mail_send0): Check ignoreeof variable for interactive sessions only.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/send.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/send.c b/mail/send.c index b26442939..92c5953c6 100644 --- a/mail/send.c +++ b/mail/send.c @@ -340,7 +340,8 @@ mail_send0 (compose_env_t * env, int save_to) if (!buf) { - if (util_getenv (NULL, "ignoreeof", Mail_env_boolean, 0) == 0) + if (interactive + && util_getenv (NULL, "ignoreeof", Mail_env_boolean, 0) == 0) { util_error (util_getenv (NULL, "dot", Mail_env_boolean, 0) == 0 ? _("Use \".\" to terminate letter.") : |