From dd6edfb5eb631c02df7151d483cac8d8eedfd0c1 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Wed, 13 Sep 2023 09:38:42 -0700 Subject: [PATCH] Uninvert logic (#623) --- 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 f39e528..ef5e694 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 {