On Mon, Jun 02, 2003 at 01:19:48PM -0500, [EMAIL PROTECTED] wrote:
> not sure if this is where you submit bug reports but anyways..
> 
> --STATS--
> Lftp | Version 2.6.5
> gcc version 2.95.4 20011002 (Debian prerelease)
> Debian woody 3.0r1 (With security updates)
> 
> if you have set cmd:fail-exit on in ~/.lftprc ~/.lftp/rc probably /etc/lftp.conf 
> though didn't test that, when executing lftp --help or lftp --version nothing prints 
> out.

Here is a patch to fix the problem. Thanks for report!

--- commands.cc 23 May 2003 07:07:44 -0000      1.191
+++ commands.cc 3 Jun 2003 09:02:41 -0000
@@ -703,6 +703,7 @@ Job *CmdExec::builtin_lftp()
       /* if no lftp-specific options were found, call open */
       return builtin_open();
    }
+   exit_code=0;
    return 0;
 }
 

-- 
   Alexander.

Reply via email to