From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8774 invoked from network); 5 Apr 1998 08:12:35 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 5 Apr 1998 08:12:35 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id EAA10571; Sun, 5 Apr 1998 04:04:34 -0400 (EDT) Resent-Date: Sun, 5 Apr 1998 04:00:39 -0400 (EDT) Message-Id: <199804050800.EAA20624@luomat.peak.org> Content-Type: text/plain MIME-Version: 1.0 From: Timothy J Luoma Date: Sun, 5 Apr 98 03:00:03 -0500 To: zsh-users@math.gatech.edu Subject: why does this exit = 1 ? Resent-Message-ID: <"RaGPy3.0.Fa2.dep9r"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1437 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I have this little snippet: if [ -r /LocalLibrary/Images/Icons/tempPark.tiff -a ! -r /tmp/.dir.tiff ] then ln -s /LocalLibrary/Images/Icons/tempPark.tiff /tmp/.dir.tiff fi When I run it and there is already a /tmp/.dir.tiff it exits = 1 I am curious why it does that, since there shouldn't be any 'error' --- or am I missing something? TjL