[PATCH] flock: document exit status of flock in man page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The man page did not indicate that the exit status of flock
is actually that of the child command, when one is run.
---
 sys-utils/flock.1 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-utils/flock.1 b/sys-utils/flock.1
index 99ae682..c245eda 100644
--- a/sys-utils/flock.1
+++ b/sys-utils/flock.1
@@ -159,6 +159,9 @@ or
 which report a failure to acquire the lock with a return value given by the
 .I \-E
 option, or 1 by default.
+.PP
+When using the <command> variant, and executing the child worked, then
+the exit status is that of the child command.
 .SH AUTHOR
 .UR hpa@xxxxxxxxx
 H. Peter Anvin
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux