diff --git a/index.js b/index.js index 72aea86..48e65af 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,9 @@ function multidrive (store, createArchive, closeArchive, cb) { } debug('initialize') - store.read(sink) + store.open(() => { + store.read(sink) + }) function sink (err, data) { if (err) return cb(err)