NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/44973: Find -exit results in error.
>Number: 44973
>Category: bin
>Synopsis: Find -exit results in error.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 16 22:25:00 +0000 2011
>Originator: Nat Sloss
>Release: NetBSD Current
>Organization:
>Environment:
NetBSD 5.99.51 NetBSD 5.99.51 (GENERIC) #0: Wed May 11 20:47:27 EST 2011
build@beast:/home/build/NetBSD-Current_source_tree/src/sys/arch/i386/compile/obj/GENERIC
i386
>Description:
When using the find utility with the exit switch, it results in an error.
ie: find /etc -type f -exit
You then receive an error:
find: fts_read: No such file or directory
It should print nothing unless -print or similar is specified.
The same problem occurs on NetBSD 5.0.1 and 5.1.
Best regards,
Nat.
>How-To-Repeat:
At the shell type:
find /etc -type f -exit
It should just return to the prompt, instead you will receive an error.
>Fix:
Home |
Main Index |
Thread Index |
Old Index