diff options
Diffstat (limited to 'notmuch-tag.c')
-rw-r--r-- | notmuch-tag.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |