commit | 77e8da8ad8276643b986acba02e365b7c6144777 | [log] [tgz] |
---|---|---|
author | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Apr 21 14:26:40 2009 +0000 |
committer | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | Tue Apr 21 14:26:40 2009 +0000 |
tree | 395b3c0a5e83b320fddfd9bcfb1c4a190f1db3c4 | |
parent | b683796d7fc48e2b5b175df082c6179ad1921b7f [diff] |
When a subcommand is started, clear out the return code. Otherwise if you re-use a subcommand object after the first is completed the poll() and wait() methods will be broken. Risk: Low Visbility: Fixes up a subtle error that occurs if you reuse a subcommand object. Signed-off-by: John Admanski <jadmanski@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@3021 592f7852-d20e-0410-864c-8624ca9c26a4