capistrano/capistrano — pull request #254 by dylanahsmith (2012-08-18 04:49:02+00:00)
Title: Don't default to closing the input stream when sudo is being used.

Fixes #253

Makes the same check as in `Capistrano::Configuration::Actions::Invocation#run_tree` to see if sudo is being used, so the input stream will not be closed by default if the `sudo_behaviour_callback` is being used.