diff options
author | Phillip Susi | 2014-06-03 15:55:52 +0200 |
---|---|---|
committer | Karel Zak | 2014-06-09 10:46:02 +0200 |
commit | ce6d69ddac954475a40510286946b4bf1d2bb976 (patch) | |
tree | 0a34ef768f9915d961585e27529c280bd0a631b5 /sys-utils/flock.1 | |
parent | libfdisk: fix bsd_translate_fstype() for alpha (diff) | |
download | kernel-qcow2-util-linux-ce6d69ddac954475a40510286946b4bf1d2bb976.tar.gz kernel-qcow2-util-linux-ce6d69ddac954475a40510286946b4bf1d2bb976.tar.xz kernel-qcow2-util-linux-ce6d69ddac954475a40510286946b4bf1d2bb976.zip |
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.
Diffstat (limited to 'sys-utils/flock.1')
-rw-r--r-- | sys-utils/flock.1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-utils/flock.1 b/sys-utils/flock.1 index 99ae682d2..c245eda5f 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@zytor.com H. Peter Anvin |