Re: problem with lftp exit code

"Alexander V. Lukyanov" <[email protected]> Mon, 16 Feb 2015 15:14:34 +0300
Newsgroups gmane.network.lftp.user
Message-ID <[email protected]>
On Mon, Feb 16, 2015 at 07:12:35AM +0000, Edward Borst wrote:
> Someone else an idea to solve this?
> I expected that if I use glob -exist the exit code would be 0.

You can use this:
	glob --exist /tmp/mtc/otp*.* || exit 0

-- 
   Alexander.
_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp