projects
/
neomutt
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e778533
)
Use execvp to call sendmail, useful for people trying sendmail="ssh host sendmail".
author
Christoph Berg
<cb@df7cb.de>
Fri, 16 Mar 2007 14:37:19 +0000
(15:37 +0100)
committer
Christoph Berg
<cb@df7cb.de>
Fri, 16 Mar 2007 14:37:19 +0000
(15:37 +0100)
sendlib.c
patch
|
blob
|
history
diff --git
a/sendlib.c
b/sendlib.c
index d9cfacb0165d93241efda3bf8383871483236396..3d123be7bfbbe3e099971c19fb009c58479bb0bd 100644
(file)
--- a/
sendlib.c
+++ b/
sendlib.c
@@
-2001,7
+2001,7
@@
send_msg (const char *path, char **args, const char *msg, char **tempfile)
_exit (S_ERR);
}
- execv (path, args);
+ execv
p
(path, args);
_exit (S_ERR);
}
else if (pid == -1)