]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-search.c
lib: note remaining uses of deprecated message search API
[notmuch] / notmuch-search.c
index b89a17e5c4bfd5adeb5c3a9ce4aa74ca1c58da14..3076c3f637b1ef5d37b44d023a5424fb50052adb 100644 (file)
@@ -583,6 +583,8 @@ _notmuch_search_prepare (search_context_t *ctx, notmuch_config_t *config, int ar
        return EXIT_FAILURE;
     }
 
+    notmuch_exit_if_unmatched_db_uuid (ctx->notmuch);
+
     query_str = query_string_from_args (ctx->notmuch, argc, argv);
     if (query_str == NULL) {
        fprintf (stderr, "Out of memory.\n");