lib/specinfra/command/freebsd/base/group.rb in specinfra-2.70.0 vs lib/specinfra/command/freebsd/base/group.rb in specinfra-2.70.1
- old
+ new
@@ -4,11 +4,11 @@
"pw groupmod #{escape(group)} -g #{escape(gid)}"
end
def add(group, options)
command = %w[pw group add]
- command << '-g' << escape(options[:gid]) if options[:gid]
command << escape(group)
+ command << '-g' << escape(options[:gid]) if options[:gid]
command.join(' ')
end
end
end