Uninvert logic (#623)

This commit is contained in:
Ana Hobden 2023-09-13 09:38:42 -07:00 committed by GitHub
parent 34d0b7e4f0
commit dd6edfb5eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {