Fix a bug introduced during recent refactor
This commit is contained in:
parent
044d8a3457
commit
695dc9da21
@ -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(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user