mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
notmuch new: Fix to actually open the database READ_WRITE.
Chris claims he must have been distracted when he wrote this.
This commit is contained in:
parent
b725481cb3
commit
b5d7632000
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue