From: Phillip Susi Date: Tue, 3 Jun 2014 13:55:52 +0000 (-0400) Subject: flock: document exit status of flock in man page X-Git-Tag: v2.25-rc1~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce6d69ddac954475a40510286946b4bf1d2bb976;p=thirdparty%2Futil-linux.git flock: document exit status of flock in man page The man page did not indicate that the exit status of flock is actually that of the child command, when one is run. --- diff --git a/sys-utils/flock.1 b/sys-utils/flock.1 index 99ae682d28..c245eda5f3 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 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