commit | 96878a218c1435911233ab9b5b42efe8d0a88db8 | [log] [tgz] |
---|---|---|
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Jun 10 18:26:33 2010 |
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Jun 10 18:26:33 2010 |
tree | 6ccf804b44ecfb816965a70ae5ce2f924d27fb48 | |
parent | 28877041246461af71a33e53fd8b5438843ee12d [diff] |
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