]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
flock: document exit status of flock in man page
authorPhillip Susi <psusi@ubuntu.com>
Tue, 3 Jun 2014 13:55:52 +0000 (09:55 -0400)
committerKarel Zak <kzak@redhat.com>
Mon, 9 Jun 2014 08:46:02 +0000 (10:46 +0200)
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

index 99ae682d2847a7127371dab34c2de21adf9c04e0..c245eda5f3e906fc406336c8f8e7e15c73724950 100644 (file)
@@ -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@zytor.com
 H. Peter Anvin