Re: [PATCH] with cmd:parallel>1 and cmd:fail-exit true only the first command will be executed
"Alexander V. Lukyanov" <[email protected]> Wed, 8 Jun 2011 17:38:05 +0400
| Newsgroups | gmane.network.lftp.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jun 01, 2011 at 06:57:47PM +0200, Fernando Gutierrez wrote: > If a job is not created in exec_parsed_command(), then the exit_code > is relevant, because that means the command has already been executed > and exit_code is storing a real value. However, if there is a new job, > it is supposed to exit and give a code. So, would the proper fix be > adding exit_code=0 to AddNewJob? it works, and that's what I > implemented. Good analysis, it is the proper fix. Patch applied. -- Alexander.