From b5d763200046b50656c96ac126f8db4054ff3440 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 22 Nov 2009 00:13:24 +0100 Subject: [PATCH] notmuch new: Fix to actually open the database READ_WRITE. Chris claims he must have been distracted when he wrote this. --- notmuch-new.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notmuch-new.c b/notmuch-new.c index bc35b4e8..43cc4fb7 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -414,7 +414,7 @@ notmuch_new_command (void *ctx, add_files_state.total_files = count; } else { notmuch = notmuch_database_open (db_path, - NOTMUCH_DATABASE_MODE_READ_ONLY); + NOTMUCH_DATABASE_MODE_READ_WRITE); add_files_state.ignore_read_only_directories = TRUE; add_files_state.total_files = 0; } -- 2.43.0