diff options
Diffstat (limited to 'notmuch-restore.c')
-rw-r--r-- | notmuch-restore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/notmuch-restore.c b/notmuch-restore.c index b8f99a3..001f3fc 100644 --- a/notmuch-restore.c +++ b/notmuch-restore.c @@ -36,7 +36,8 @@ notmuch_restore_command (unused (void *ctx), int argc, 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; |