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
1 file changed