more verbose error if mailer not found
This commit is contained in:
@@ -270,7 +270,7 @@ static void send_mail()
|
|||||||
be_root();
|
be_root();
|
||||||
|
|
||||||
if ((mailer = find_path(mailer)) == NULL) {
|
if ((mailer = find_path(mailer)) == NULL) {
|
||||||
(void) fprintf(stderr, "%s not found\n", mailer);
|
(void) fprintf(stderr, "%s: mailer (%s) not found\n", Argv[0], mailer);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user