summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-04-04 13:23:02 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2017-04-04 13:23:02 -0700
commit85894e4c30e4efa7e4e85d21ba41d1a3d5affa95 (patch)
tree908beb272dd27eaeef4b9a029a37384b55aecd92
parent703f11bdcce764dc755b47943c8abbc5bb9e25f8 (diff)
downloadchef-85894e4c30e4efa7e4e85d21ba41d1a3d5affa95.tar.gz
fix build break on master in linux user providerlcg/fix-linux-user
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/provider/user/linux.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/user/linux.rb b/lib/chef/provider/user/linux.rb
index 715330e196..2db6c218bd 100644
--- a/lib/chef/provider/user/linux.rb
+++ b/lib/chef/provider/user/linux.rb
@@ -58,7 +58,7 @@ class Chef
def usermod_options
opts = []
- opts += [ "-u", new_resource.uid ] if non_unique?
+ opts += [ "-u", new_resource.uid ] if new_resource.non_unique
if updating_home?
if new_resource.manage_home
opts << "-m"