changed to use new find_path()
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user