From: Mister Me Date: Thu, 7 Oct 2021 14:34:00 +0000 (-0600) Subject: findmnt: (adoc) Added section stating exit code semantics X-Git-Tag: v2.38-rc1~229 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90e0342bbf04667c7e9377d0ec4d019ea15e41cd;p=thirdparty%2Futil-linux.git findmnt: (adoc) Added section stating exit code semantics per issue #1464: https://github.com/karelzak/util-linux/issues/1464 [kzak@redhat.com: - move the text from DESCRIPTION to EXIT STATUS section] Signed-off-by: Glenn Golden Signed-off-by: Karel Zak --- diff --git a/misc-utils/findmnt.8.adoc b/misc-utils/findmnt.8.adoc index c457b28a3f..3a3461f030 100644 --- a/misc-utils/findmnt.8.adoc +++ b/misc-utils/findmnt.8.adoc @@ -172,6 +172,12 @@ Force *findmnt* to print more information (*--verify* only for now). *--vfs-all*:: When used with *VFS-OPTIONS* column, print all VFS (fs-independent) flags. This option is designed for auditing purposes to list also default VFS kernel mount options which are normally not listed. +== EXIT STATUS + +The exit value is 0 if there is something to display, or 1 on any error +(for example if no filesystem is found based on the user's filter +specification, or the device path or mountpoint does not exist). + == ENVIRONMENT *LIBMOUNT_FSTAB*=::