[go: nahoru, domu]

Changed the position of the output->swap() call.  This way, even if the command encounters an error, we still record the output.  This is important for the case when stderr has been redirected to stdout, and we'd like to see stdout even when the exit code is non-zero.

Patch contributed by Michael Williamson.

Review URL: http://codereview.chromium.org/2665004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49423 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed