NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/38584: bin/sh: 'set -e' + pipe



>Number:         38584
>Category:       bin
>Synopsis:       bin/sh: 'set -e' + pipe
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 04 21:50:00 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #3: 
Wed Apr 23 00:58:08 EEST 2008 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
test.sh:

 #!/bin/sh

 set -e

 echo | false

 echo 'This should not happen!'

>How-To-Repeat:
0 ~>./test.sh                            
This should not happen!
0 ~>

>Fix:

Unknown


Home | Main Index | Thread Index | Old Index