delorie.com/archives/browse.cgi | search |
----- Original Message ----- From: "Michael Schaap" <> To: <cygwin AT cygwin DOT com> Sent: Wednesday, April 11, 2007 10:42 AM Subject: ***[Possible UCE]*** Re: [ANNOUNCEMENT] Updated: cron 4.1-1 | On 11-Apr-2007 16:30, Pierre A. Humblet wrote: | > | "[ -e /usr/sbin/sendmail ]" is true when a symlink | > | "/usr/sbin/sendmail.exe" exists. | > | > Precisely if "[ -e /usr/sbin/sendmail ]" is true then | > || ln -sf /usr/bin/cronlog /usr/sbin/sendmail | > shouldn't run. | > | Indeed it doesn't. But then: | | [ -e /usr/sbin/sendmail ] && rm -f /usr/sbin/sendmail.exe | | does run. OK, I see what's happening. [ -e /usr/sbin/sendmail ] as well as [ -L /usr/sbin/sendmail ] are true when sendmail does not exist while sendmail.exe does. I need a much more elaborate test to detect when both exist. Thanks for the report. Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |