NetBSD-Bugs archive

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

bin/52870: file doesn't returns zero on (some) error



>Number:         52870
>Category:       bin
>Synopsis:       file doesn't returns zero on (some) error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 28 06:45:00 +0000 2017
>Originator:     coypu
>Release:        NetBSD 8.99.9
>Organization:
>Environment:
NetBSD localhost 8.99.9 NetBSD 8.99.9 (GENERIC) #9: Sat Dec  9 18:35:18 IST 2017  fly@localhost:/home/fly/obj/sys/arch/amd64/compile/GENERIC amd64

>Description:
> sh -c 'file /nonexistent; echo $?'
/nonexistent: cannot open `/nonexistent' (No such file or directory)
0

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index