aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-tag.c')
-rw-r--r--notmuch-tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-tag.c b/notmuch-tag.c
index 75d464f2..e2311f61 100644
--- a/notmuch-tag.c
+++ b/notmuch-tag.c
@@ -95,7 +95,7 @@ notmuch_tag_command (void *ctx, unused (int argc), unused (char *argv[]))
return 1;
notmuch = notmuch_database_open (notmuch_config_get_database_path (config),
- NOTMUCH_DATABASE_MODE_WRITABLE);
+ NOTMUCH_DATABASE_MODE_READ_WRITE);
if (notmuch == NULL)
return 1;