diff --git a/logging.c b/logging.c index a255c7187..d7e81fff0 100644 --- a/logging.c +++ b/logging.c @@ -380,7 +380,7 @@ static void send_mail() (void) bzero((char *)(&action), sizeof(action)); #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); exit(1); }