changed to use new find_path()

This commit is contained in:
Todd C. Miller
1995-03-26 06:17:19 +00:00
parent 4125ee07ac
commit ee49c5c242

View File

@@ -380,7 +380,7 @@ static void send_mail()
(void) bzero((char *)(&action), sizeof(action)); (void) bzero((char *)(&action), sizeof(action));
#endif /* POSIX_SIGNALS */ #endif /* POSIX_SIGNALS */
if (find_path(MAILER, &mailer, NULL) == FALSE) { if ((mailer = find_path(MAILER)) == NULL) {
(void) fprintf(stderr, "%s: mailer (%s) not found\n", Argv[0], MAILER); (void) fprintf(stderr, "%s: mailer (%s) not found\n", Argv[0], MAILER);
exit(1); exit(1);
} }