X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=7c5c28f427819c19f883f30b65f0c3f684537587;hp=4464741fe3567e974e6f07038b93f6446b744150;hb=f76d8f82dd004cf14426a91e8a80dcd2a4b97317;hpb=5a3b42fb8c556397841b86c5fda1c4554dab253a diff --git a/notmuch-reply.c b/notmuch-reply.c index 4464741f..7c5c28f4 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -831,6 +831,8 @@ notmuch_reply_command (notmuch_config_t *config, int argc, char *argv[]) NOTMUCH_DATABASE_MODE_READ_ONLY, ¬much)) return EXIT_FAILURE; + notmuch_exit_if_unmatched_db_uuid (notmuch); + query = notmuch_query_create (notmuch, query_string); if (query == NULL) { fprintf (stderr, "Out of memory\n");