X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-show.c;h=6ef33085acb1060934940c6db55b5ef1b6764e34;hb=f76d8f82dd004cf14426a91e8a80dcd2a4b97317;hp=b80933ad3a00963e07047c56707863291d9e321e;hpb=0018a8d787a98f80c665061daa9b0c73839d3666;p=notmuch diff --git a/notmuch-show.c b/notmuch-show.c index b80933ad..6ef33085 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -1213,6 +1213,8 @@ notmuch_show_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");