X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-restore.c;h=1b9598dcee5ec1dd42c075d1255781333ddc5de5;hp=001f3fcb762c71adf20a6af7dd3ff39ea6a3eb1c;hb=909f52bd8c4bdfa11cd3e75e3d0959e0293689bd;hpb=f379aa52845f5594aa6cc2e7cf131d5f57202bbf diff --git a/notmuch-restore.c b/notmuch-restore.c index 001f3fcb..1b9598dc 100644 --- a/notmuch-restore.c +++ b/notmuch-restore.c @@ -37,7 +37,7 @@ notmuch_restore_command (unused (void *ctx), int argc, 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;