# HG changeset patch
# User Christoph Berg <cb@xxxxxxxx>
# Date 1174055839 -3600
# Node ID c82435f2db41fd63b91cfbb9e7f820ac9839e445
# Parent 347824928102661e6dea3b4f411324320e755a07
Use execvp to call sendmail, useful for people trying sendmail="ssh host
sendmail".
diff -r 347824928102 -r c82435f2db41 sendlib.c
--- a/sendlib.c Fri Mar 16 15:04:59 2007 +0100
+++ b/sendlib.c Fri Mar 16 15:37:19 2007 +0100
@@ -2001,7 +2001,7 @@ send_msg (const char *path, char **args,
_exit (S_ERR);
}
- execv (path, args);
+ execvp (path, args);