lib/specinfra/command/freebsd/base/user.rb in specinfra-2.59.5 vs lib/specinfra/command/freebsd/base/user.rb in specinfra-2.59.6

- old
+ new

@@ -36,10 +36,9 @@ command = ['pw', 'user', 'add', escape(user)] command << '-g' << escape(options[:gid]) if options[:gid] command << '-d' << escape(options[:home_directory]) if options[:home_directory] command << '-s' << escape(options[:shell]) if options[:shell] command << '-m' if options[:create_home] - command << '-r' if options[:system_user] command << '-u' << escape(options[:uid]) if options[:uid] if options[:password] command.concat(['&&', 'chpass', '-p', "\'#{options[:password]}\'", escape(user)]) end command.join(' ')