1
0
forked from brl/citadel-tools

Fix a bug introduced during recent refactor

This commit is contained in:
Bruce Leidl 2020-08-07 10:23:35 -04:00
parent 044d8a3457
commit 695dc9da21

View File

@ -116,7 +116,7 @@ impl Mountpoint {
let verity = Verity::new(realmfs.path())?;
verity.generate_image_hashtree()?;
realmfs.header().set_flag(ImageHeader::FLAG_HASH_TREE);
realmfs.header().write_header_to(self.path())?;
realmfs.header().write_header_to(realmfs.path())?;
info!("Done generating verity hash tree");
Ok(())
}