summaryrefslogtreecommitdiff
path: root/lib/chef/provider/group/groupadd.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/group/groupadd.rb')
-rw-r--r--lib/chef/provider/group/groupadd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/group/groupadd.rb b/lib/chef/provider/group/groupadd.rb
index 8f87054262..bc6b5d0208 100644
--- a/lib/chef/provider/group/groupadd.rb
+++ b/lib/chef/provider/group/groupadd.rb
@@ -113,7 +113,7 @@ class Chef
# <string>:: A string containing the option and then the quoted value
def set_options
opts = ""
- { :gid => "-g" }.sort { |a,b| a[0] <=> b[0] }.each do |field, option|
+ { :gid => "-g" }.sort { |a, b| a[0] <=> b[0] }.each do |field, option|
if @current_resource.send(field) != @new_resource.send(field)
if @new_resource.send(field)
opts << " #{option} '#{@new_resource.send(field)}'"