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

Commit

Permalink
Remove unnecessary instance variable set in Process
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh authored and jamis committed Jan 7, 2011
1 parent a4ecce7 commit 2cec3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net/ssh/shell/process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run
manager.open do
state = :running
manager.channel.on_data(&method(:on_stdout))
@master_onclose = manager.channel.on_close(&method(:on_close))
manager.channel.on_close(&method(:on_close))

cmd = command.dup
cmd << ";" if cmd !~ /[;&]$/
Expand Down

0 comments on commit 2cec3b5

Please sign in to comment.