Uninvert logic (#623)
This commit is contained in:
parent
34d0b7e4f0
commit
dd6edfb5eb
|
@ -68,7 +68,7 @@ impl Action for EnableOwnership {
|
||||||
let the_plist: DiskUtilInfoOutput =
|
let the_plist: DiskUtilInfoOutput =
|
||||||
plist::from_reader(Cursor::new(buf)).map_err(Self::error)?;
|
plist::from_reader(Cursor::new(buf)).map_err(Self::error)?;
|
||||||
|
|
||||||
the_plist.global_permissions_enabled
|
!the_plist.global_permissions_enabled
|
||||||
};
|
};
|
||||||
|
|
||||||
if should_enable_ownership {
|
if should_enable_ownership {
|
||||||
|
|
Loading…
Reference in a new issue