summaryrefslogtreecommitdiff
path: root/lib/chef/file_access_control
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-03-21 12:17:22 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-03-21 12:17:22 -0700
commitbd7c5c0fb7dfd6005a8e5bc3944f77230069445e (patch)
tree3b9c597340deea81ecb6c2199a4987de072c4812 /lib/chef/file_access_control
parent8e9ea543502781d4e0f71a9d577f639c256171b1 (diff)
downloadchef-bd7c5c0fb7dfd6005a8e5bc3944f77230069445e.tar.gz
rubocop fixes from engine bump to 0.54.0lcg/rubocop-fixes
some cops got a little stricter. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/file_access_control')
-rw-r--r--lib/chef/file_access_control/unix.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/file_access_control/unix.rb b/lib/chef/file_access_control/unix.rb
index 66f724ddd8..ee96bf5045 100644
--- a/lib/chef/file_access_control/unix.rb
+++ b/lib/chef/file_access_control/unix.rb
@@ -132,7 +132,7 @@ class Chef
a.failure_message(Chef::Exceptions::GroupIDNotFound, "cannot determine group id for '#{resource.group}', does the group exist on this system?")
a.whyrun("Assuming group #{resource.group} would have been created")
end
- return nil
+ nil
end
def should_update_group?
@@ -279,7 +279,7 @@ class Chef
a.failure_message(Chef::Exceptions::UserIDNotFound, "cannot determine user id for '#{resource.owner}', does the user exist on this system?")
a.whyrun("Assuming user #{resource.owner} would have been created")
end
- return nil
+ nil
end
def suid_bit_set?