Skip to content

Commit

Permalink
execete config.system.run_commands with rescue_error
Browse files Browse the repository at this point in the history
  • Loading branch information
emasaka committed Sep 3, 2010
1 parent 856cad5 commit 01a824b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/termtter/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,7 @@ def run
end

config.system.eval_scripts.each {|script| rescue_error { eval script }}

config.system.run_commands.each {|cmd| execute(cmd) }
config.system.run_commands.each {|cmd| rescue_error { execute(cmd) }}

unless config.system.cmd_mode
@task_manager.run()
Expand Down

0 comments on commit 01a824b

Please sign in to comment.