Skip to content

Commit

Permalink
Fixed used server options
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Yamolov committed Jan 8, 2013
1 parent 9768c57 commit c2da877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/whenever/capistrano/support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def whenever_run_commands(args)
roles_arg = roles.empty? ? "" : " --roles #{roles.join(',')}"

command = "cd #{args[:path]} && #{args[:command]} #{args[:flags]}#{roles_arg}"
run command, whenever_options.merge(:hosts => server.host)
run command, whenever_options.merge(:hosts => server)
end
end

Expand Down

0 comments on commit c2da877

Please sign in to comment.