From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9698 invoked from network); 23 Mar 2004 18:49:58 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 23 Mar 2004 18:49:58 -0000 Received: (qmail 2307 invoked by alias); 23 Mar 2004 18:49:31 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7244 Received: (qmail 2295 invoked from network); 23 Mar 2004 18:49:31 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 23 Mar 2004 18:49:31 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 23 Mar 2004 18:49:31 -0000 Received: (qmail 1290 invoked from network); 23 Mar 2004 18:49:31 -0000 Received: from main.gmane.org (80.91.224.249) by a.mx.sunsite.dk with SMTP; 23 Mar 2004 18:49:21 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B5qxk-0001VL-00 for ; Tue, 23 Mar 2004 19:49:20 +0100 Received: from isi-dialin-129-204.isionline-dialin.de ([195.158.129.204]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Mar 2004 19:49:20 +0100 Received: from thorsten by isi-dialin-129-204.isionline-dialin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Mar 2004 19:49:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: Thorsten Kampe Subject: zlogout not finishing when errors Date: Tue, 23 Mar 2004 19:49:17 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: isi-dialin-129-204.isionline-dialin.de User-Agent: 40tude_Dialog/2.0.10.1de Sender: news X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 [zsh 4.1.1] If have put some "cp" commands in my .zlogout. Some files are sometimes "nonexistant" - depending on the host and the mounts. So I simply wanted to redirect stderr to /dev/null. To my surprise when of these commands errors ("cp nonexistant_file destination") the rest of .zlogout is not read. So I had to put a "if [[ -r $file ]]" into .zlogout to make this file finish until the end. Of course this is not the behaviour of the other rcfiles (.zprofile, .zshrc, etc.). So my question is: is this a known thing (a bug or a feature)? Thorsten