* Junichi Uekawa [Thu, 10 May 2007 09:00:27 +0900]: > I think you are looking for > set -o pipefail > in bash.
Note this is bash-specific. If the script is set -e, Frans' solution is the most straightforward way. Cheers, -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org Guy on cell: Yeah, I mean she's not easy to talk to, because, you know, she'll be like, "What did you do this weekend?" and I'll say, "Nothing", but really I was fucking some other girl. -- http://www.overheardinnewyork.com/archives/003179.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]