X-Spam-Check-By: sourceware.org Date: Wed, 11 Apr 2007 10:51:08 -0400 From: "Pierre A. Humblet" Subject: Re: [ANNOUNCEMENT] Updated: cron 4.1-1 To: Message-id: <011c01c77c48$d71fbf20$3c0110ac@wirelessworld.airvananet.com> MIME-version: 1.0 X-Mailer: Microsoft Outlook Express 6.00.2900.2869 Content-type: text/plain; charset=Windows-1252 Content-transfer-encoding: 8BIT References: <461CEAAC DOT 7040608 AT mscha DOT nl> <010a01c77c43$e1ea24e0$3c0110ac AT wirelessworld DOT airvananet DOT com> <461CEEE0 DOT 7040202 AT mscha DOT nl> <011601c77c45$e87c8210$3c0110ac AT wirelessworld DOT airvananet DOT com> <461CF3E6 DOT 2050802 AT mscha DOT nl> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ----- Original Message ----- From: "Michael Schaap" To: 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. | | – 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"...) Except if that if /usr/sbin/sendmail.exe did exist in the first place (not a dangling link) then cronlog would not have been linked, for the same reason: [ -e /usr/sbin/sendmail -o -e /usr/sbin/sendmail.exe ] and thus the rm -f would not do anything except possibly remove a dangling symlink. I still don't understand what happened. 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/