Skip to content

Commit

Permalink
Update ssh.rb
Browse files Browse the repository at this point in the history
nlemoine committed Apr 3, 2013
1 parent 47310c9 commit d57a096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wordmove/deployer/ssh.rb
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ def remote_run(command)
logger.task_step false, command
unless simulate?
stdout, stderr, exit_code = @copier.exec! command
raise "Error code #{exit_code} returned by command \"#{cmd}\": #{stderr}" unless exit_code.zero?
raise "Error code #{exit_code} returned by command \"#{command}\": #{stderr}" unless exit_code.zero?
end
end

0 comments on commit d57a096

Please sign in to comment.