X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=notmuch-tag.c;h=75d464f20980d7ece09cd25cbec7c0b10582a355;hb=f379aa52845f5594aa6cc2e7cf131d5f57202bbf;hp=12ab86c58d8429229b27a870ec98962ea1e70304;hpb=aac1d6035238f6a2b18c0dc0d7a5190a2187c511;p=obsolete%2Fnotmuch-old diff --git a/notmuch-tag.c b/notmuch-tag.c index 12ab86c5..75d464f2 100644 --- a/notmuch-tag.c +++ b/notmuch-tag.c @@ -94,7 +94,8 @@ notmuch_tag_command (void *ctx, unused (int argc), unused (char *argv[])) if (config == NULL) return 1; - notmuch = notmuch_database_open (notmuch_config_get_database_path (config)); + notmuch = notmuch_database_open (notmuch_config_get_database_path (config), + NOTMUCH_DATABASE_MODE_WRITABLE); if (notmuch == NULL) return 1;