Previously it was just mysteriously exiting with status code 1 in some
cases.
---
notmuch.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/notmuch.c b/notmuch.c
index 43e7cf0a..1c882c31 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -559,6 +559,8 @@ main (int argc, char *argv[])
if (status_string) {
fputs (status_string, stderr);
free (status_string);
+ } else {
+ fprintf (stderr, "Error: %s\n", notmuch_status_to_string (status));
}
return EXIT_FAILURE;
--
2.53.0
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org