X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-new.c;h=bf9b120949b6697650a681eb5c566b0e97bbfccb;hp=2faf2f8e01029d4b933aa9041d3d7be7a5a40f6d;hb=746fef0aeafe1f29720140ab8778cdee22d519cb;hpb=d3b5533123293fdc1e4177f42018f085c03585c9;ds=sidebyside diff --git a/notmuch-new.c b/notmuch-new.c index 2faf2f8e..bf9b1209 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -1035,8 +1035,8 @@ notmuch_new_command (void *ctx, int argc, char *argv[]) printf ("\n"); if (ret) - printf ("\nNote: A fatal error was encountered: %s\n", - notmuch_status_to_string (ret)); + fprintf (stderr, "Note: A fatal error was encountered: %s\n", + notmuch_status_to_string (ret)); notmuch_database_close (notmuch);