[Bug 227706] file(1) succeeds when the file doesn't exist
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 23 14:37:55 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227706
lgfbsd at be-well.ilk.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lgfbsd at be-well.ilk.org
--- Comment #1 from lgfbsd at be-well.ilk.org ---
I believe this is correct POSIX behavior:
"
If the file named by the file operand does not exist, cannot be read, or
the type of the file named by the file operand cannot be determined, this shall
not be considered an error that affects the exit status.
"
An appropriate fix would be to add that text to our manual page.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list