Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Oct 2023 14:13:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 227706] document that file(1) succeeds when the file doesn't exist
Message-ID:  <bug-227706-227-JAPK3tDBJA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227706-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227706-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227706

Benedict Reuschling <bcr@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |Overcome By Events
                 CC|                            |bcr@FreeBSD.org

--- Comment #3 from Benedict Reuschling <bcr@FreeBSD.org> ---
The EXIT STATUS section on current file(1) versions includes this:

EXIT STATUS
     file will exit with 0 if the operation was successful or >0 if an error
     was encountered.  The following errors cause diagnostic messages, but
     don't affect the program exit code (as POSIX requires), unless -E is
     specified:
           =E2=80=A2   A file cannot be found
           =E2=80=A2   There is no permission to read a file
           =E2=80=A2   The file type cannot be determined

I think that covers the issue of this PR. Thanks for submitting it, it was
fixed in the meantime. Sorry it took so long to close it.

--=20
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-227706-227-JAPK3tDBJA>