Date: Fri, 20 Feb 2015 21:49:08 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197866] FreeBSD 10.1 file(1) utility returns 0 on error Message-ID: <bug-197866-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197866 Bug ID: 197866 Summary: FreeBSD 10.1 file(1) utility returns 0 on error Product: Base System Version: 10.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: johan@stromnet.se >From file(1) manpage: RETURN CODE file returns 0 on success, and non-zero on error. This seems to have broken on FreeBSD 10.1? $ uname -v FreeBSD 10.0-RELEASE-p10 #0: Mon Oct 20 12:42:25 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC $ file thisdoesnotexist thisdoesnotexist: ERROR: cannot open `thisdoesnotexist' (No such file or directory) $ echo $? 1 $ uname -v FreeBSD 10.1-RELEASE-p5 #0: Tue Jan 27 08:55:07 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC $ file thisdoesnotexist thisdoesnotexist: cannot open `thisdoesnotexist' (No such file or directory) $ echo $? 0 -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197866-8>