summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"