[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange change between bash-3.2 and bash-4.0
From: |
Chet Ramey |
Subject: |
Re: Strange change between bash-3.2 and bash-4.0 |
Date: |
Tue, 10 Feb 2009 09:49:22 -0500 |
User-agent: |
Thunderbird 2.0.0.19 (Macintosh/20081209) |
Roman Rakus wrote:
> If this stays as it is, bash will never exit immediately if a command
> (in this case pipeline) exits with a non-zero status.
That's clearly not true. Bash will not exit if a pipeline fails, but
will do so if a simple command fails.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/