flock: document exit status of flock in man page
PATCH 1/1 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.
--- sys-utils/flock.1 | 3 +++ 1 file changed, 3 insertions(+)
sys-utils/flock.1 +3 -0
@@ -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 [email protected] H. Peter Anvin
Signature · 1 line
1.9.1