X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-restore.c;h=b5c5c48dfdc4f3be5f023d946900e7c22c42a3cc;hp=b0a4e1ce7905fc52157ce35c471fe1b31446f549;hb=d9d3d3e6f06a76dc0fbe24c9655b64acfcd4b9e4;hpb=088801a14ab1ccf4c65e5bf7b50b3a1172c477d7;ds=sidebyside diff --git a/notmuch-restore.c b/notmuch-restore.c index b0a4e1ce..b5c5c48d 100644 --- a/notmuch-restore.c +++ b/notmuch-restore.c @@ -41,6 +41,8 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[]) if (notmuch == NULL) return 1; + notmuch_database_set_maildir_sync (notmuch, + notmuch_config_get_maildir_sync (config)); if (argc) { input = fopen (argv[0], "r"); if (input == NULL) {