Re: [lftp] problem with lftp exit code
On Mon, Feb 16, 2015 at 12:22:46PM +, Edward Borst wrote: Hi Alexander, Unfortunately this does not solve the issue in the correct way. Because if the connection is down, or there is a login problem the exit code will also be 0 I only want the exit status 0 when there is no file. You can also play with glob --not-exist, but I suspect there is no perfect solution now. Test the connection first by cd . || exit 1. -- Alexander. -Original Message- From: Alexander V. Lukyanov [mailto:l...@netis.ru] Sent: maandag 16 februari 2015 13:15 To: Edward Borst Cc: 'lftp@uniyar.ac.ru' Subject: Re: [lftp] problem with lftp exit code On Mon, Feb 16, 2015 at 07:12:35AM +, 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 lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Re: [lftp] problem with lftp exit code
Hi Alexander, Unfortunately this does not solve the issue in the correct way. Because if the connection is down, or there is a login problem the exit code will also be 0 I only want the exit status 0 when there is no file. -Original Message- From: Alexander V. Lukyanov [mailto:l...@netis.ru] Sent: maandag 16 februari 2015 13:15 To: Edward Borst Cc: 'lftp@uniyar.ac.ru' Subject: Re: [lftp] problem with lftp exit code On Mon, Feb 16, 2015 at 07:12:35AM +, 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 lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Re: [lftp] Problem with Spam in Gmail with this list
SPF record was recently fixed for the domain uniyar.ac.ru, so the spam problem should become less frequent. ср, 11 февр. 2015, 19:29, Juan Simón deced...@gmail.com: I've done it now, thanks. 2015-02-11 17:10 GMT+01:00 Kai Stian Olstad kai.stian.ols...@gmail.com: On Wednesday 11. February 2015 09:43:26 Juan Simón wrote: I have a problem related to this mail list. Gmail considers some mails of this list like spam. I have added the email address of this list in contacts but it still occurs. Is there any solution? Create a filter an tick the box Never send it to Spam. -- Kai Stian Olstad ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Re: [lftp] problem with lftp exit code
On Mon, Feb 16, 2015 at 07:12:35AM +, 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 lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp