This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

– Michael

(I can't stand that syntax, by the way. It's so much easier to see what's going on when you use a proper "if"...)

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]