Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > 4090922c88d76dcb9d3d77a391885b7d > files > 7

anacron-2.3-30mdv2009.1.src.rpm

diff -p -up anacron-2.3/runjob.c.sendmail anacron-2.3/runjob.c
--- anacron-2.3/runjob.c.sendmail	2008-08-28 18:14:44.000000000 +0200
+++ anacron-2.3/runjob.c	2008-08-28 18:16:20.000000000 +0200
@@ -182,7 +182,7 @@ launch_mailer(job_rec *jr)
 	 * Hopefully, this will keep all the MTAs happy. */
 	execl(SENDMAIL, SENDMAIL, "-FAnacron", "-odi",
 	      jr->mailto, (char *)NULL);
-	die_e("Can't exec " SENDMAIL);
+	perror("Can't exec " SENDMAIL);
     }
     /* parent */
     /* record mailer pid */