Skip to content

Commit

Permalink
chk_cyrus: Be more verbose on fatal errors (actually print the error)
Browse files Browse the repository at this point in the history
Signed-off-by: David Caldwell <[email protected]>
  • Loading branch information
caldwell committed Feb 10, 2024
1 parent f5a351f commit 5a3c012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imap/chk_cyrus.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static int chkmbox(struct findall_data *data, void *rock __attribute__((unused))
/* xxx reserved mailboxes? */

if (r) {
fprintf(stderr, "bad mailbox %s in chkmbox\n", name);
fprintf(stderr, "bad mailbox %s in chkmbox: %s\n", name, error_message(r));
fatal("fatal error",EX_TEMPFAIL);
}

Expand Down

0 comments on commit 5a3c012

Please sign in to comment.