diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-11-22 00:13:24 +0100 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-22 00:13:24 +0100 |
commit | b5d763200046b50656c96ac126f8db4054ff3440 (patch) | |
tree | b654a27338d6f2f8f8784136085a83779fb71ab6 /notmuch-new.c | |
parent | b725481cb3e695f931a7a1294a74f60474862c00 (diff) |
notmuch new: Fix to actually open the database READ_WRITE.
Chris claims he must have been distracted when he wrote this.
Diffstat (limited to 'notmuch-new.c')
-rw-r--r-- | notmuch-new.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |