X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-tag.c;fp=notmuch-tag.c;h=7ae98f6ca42056b0285255a4c1958b91932f2d2b;hp=38d99aa9db0be0a40ee720b5776f0fa3ae7167f6;hb=f76d8f82dd004cf14426a91e8a80dcd2a4b97317;hpb=5a3b42fb8c556397841b86c5fda1c4554dab253a diff --git a/notmuch-tag.c b/notmuch-tag.c index 38d99aa9..7ae98f6c 100644 --- a/notmuch-tag.c +++ b/notmuch-tag.c @@ -261,6 +261,8 @@ notmuch_tag_command (notmuch_config_t *config, int argc, char *argv[]) NOTMUCH_DATABASE_MODE_READ_WRITE, ¬much)) return EXIT_FAILURE; + notmuch_exit_if_unmatched_db_uuid (notmuch); + if (notmuch_config_get_maildir_synchronize_flags (config)) tag_flags |= TAG_FLAG_MAILDIR_SYNC;