X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-tag.c;h=7ae98f6ca42056b0285255a4c1958b91932f2d2b;hp=38d99aa9db0be0a40ee720b5776f0fa3ae7167f6;hb=005c2f0df17de8afdf9f67b923d26f2358236171;hpb=0018a8d787a98f80c665061daa9b0c73839d3666 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;