diff options
Diffstat (limited to 'lib/chef/resource/macos_userdefaults.rb')
-rw-r--r-- | lib/chef/resource/macos_userdefaults.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/macos_userdefaults.rb b/lib/chef/resource/macos_userdefaults.rb index df9c20f45a..c5024abff8 100644 --- a/lib/chef/resource/macos_userdefaults.rb +++ b/lib/chef/resource/macos_userdefaults.rb @@ -84,7 +84,7 @@ class Chef shell_out(cmd, user: desired.user) end - is_set vc.exitstatus == 0 + is_set !vc.error? end action :write do |