Fix regression where era_restore wouldn't work with devices.
check_file_exists() had an extra parameter added with a default, which was the wrong default for era_restore.
This commit is contained in:
parent
763b2d14b2
commit
58cd881340
@ -37,7 +37,7 @@ namespace {
|
|||||||
bool metadata_touched = false;
|
bool metadata_touched = false;
|
||||||
try {
|
try {
|
||||||
block_manager::ptr bm = open_bm(*fs.output, block_manager::READ_WRITE);
|
block_manager::ptr bm = open_bm(*fs.output, block_manager::READ_WRITE);
|
||||||
file_utils::check_file_exists(*fs.output);
|
file_utils::check_file_exists(*fs.output, false);
|
||||||
metadata_touched = true;
|
metadata_touched = true;
|
||||||
metadata::ptr md(new metadata(bm, metadata::CREATE));
|
metadata::ptr md(new metadata(bm, metadata::CREATE));
|
||||||
emitter::ptr restorer = create_restore_emitter(*md);
|
emitter::ptr restorer = create_restore_emitter(*md);
|
||||||
|
Loading…
Reference in New Issue
Block a user