From 48fc1c1aee136630eea87a34eeb6eaf2155a314c Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Thu, 7 Sep 2023 10:22:42 -0700 Subject: [PATCH] Uninvert logic --- src/action/macos/enable_ownership.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action/macos/enable_ownership.rs b/src/action/macos/enable_ownership.rs index f39e528d..ef5e6947 100644 --- a/src/action/macos/enable_ownership.rs +++ b/src/action/macos/enable_ownership.rs @@ -68,7 +68,7 @@ impl Action for EnableOwnership { let the_plist: DiskUtilInfoOutput = plist::from_reader(Cursor::new(buf)).map_err(Self::error)?; - the_plist.global_permissions_enabled + !the_plist.global_permissions_enabled }; if should_enable_ownership {