On Wed, Sep 21, 2005 at 08:54:32AM +0400, Alexander V. Lukyanov wrote: > to exit code from slot command. Attached patch should fix the problem.
Index: commands.cc =================================================================== RCS file: /home/lav/cvsroot/lftp/src/commands.cc,v retrieving revision 1.227 diff -u -p -r1.227 commands.cc --- commands.cc 7 Sep 2005 06:04:43 -0000 1.227 +++ commands.cc 21 Sep 2005 04:47:56 -0000 @@ -3261,6 +3261,7 @@ CMD(slot) if(n) { parent->ChangeSlot(n); + exit_code=0; return 0; } else