]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
cli: g_hash_table_lookup_extended is overkill
[notmuch] / notmuch-reply.c
index 4464741fe3567e974e6f07038b93f6446b744150..7c5c28f427819c19f883f30b65f0c3f684537587 100644 (file)
@@ -831,6 +831,8 @@ notmuch_reply_command (notmuch_config_t *config, int argc, char *argv[])
                               NOTMUCH_DATABASE_MODE_READ_ONLY, &notmuch))
        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");