From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8190 invoked from network); 13 Oct 2003 07:17:02 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Oct 2003 07:17:02 -0000 Received: (qmail 3109 invoked by alias); 13 Oct 2003 07:16:53 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19182 Received: (qmail 20627 invoked from network); 13 Oct 2003 02:35:12 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Oct 2003 02:35:12 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [64.81.81.21] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Oct 2003 2:35:11 -0000 Received: from dylan by dylex.net with local (Exim 4.22) id 1A8sYA-00030l-R7 for zsh-workers@sunsite.dk; Sun, 12 Oct 2003 19:35:10 -0700 Date: Sun, 12 Oct 2003 19:35:10 -0700 From: Dylan Alex Simon To: zsh-workers@sunsite.dk Subject: duplicate printexitvalue with mailcheck Message-ID: <20031013023510.GA11368@dylex.dylex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The printexitvalue option shows multiple exit values when MAILPATH/MAILCHECK is set and new mail is found. Relevant environment: zsh 4.0.7 (i686-pc-linux-gnu) MAILPATH='/home/dylan/mail?New mail in `basename $_`' setopt printexitvalue dylex:~>echo "foo" >> mail/test dylex:~>false zsh: exit 1 New mail in test zsh: exit 1 dylex:~> Apologies if this is a known bug, it's just been bugging me for a while. :-Dylan