Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
By default, do nothing on output and error output for shell processes
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Jan 12, 2011
1 parent 0132771 commit 5bce0f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/net/ssh/shell/process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def initialize(manager, command, callback)
@manager = manager
@callback = callback
@properties = {}
@on_output = Proc.new { |p, data| print(data) }
@on_error_output = Proc.new { |p, data| print(data) }
@on_output = nil
@on_error_output = nil
@on_finish = nil
@state = :new
end
Expand Down

0 comments on commit 5bce0f5

Please sign in to comment.