diff options
author | Patrice Dumas | 2010-07-07 10:09:40 +0200 |
---|---|---|
committer | Karel Zak | 2010-07-07 10:09:40 +0200 |
commit | 2c26d56ff524bdd9b7bbb45d19e47e67bb2b8d30 (patch) | |
tree | dcec4c94ce25b340af3a76ffb6399c47539e5137 /sys-utils/flock.1 | |
parent | libmount: fix merge_optstr (do not truncate 3 trailing characters) (diff) | |
download | kernel-qcow2-util-linux-2c26d56ff524bdd9b7bbb45d19e47e67bb2b8d30.tar.gz kernel-qcow2-util-linux-2c26d56ff524bdd9b7bbb45d19e47e67bb2b8d30.tar.xz kernel-qcow2-util-linux-2c26d56ff524bdd9b7bbb45d19e47e67bb2b8d30.zip |
flock: fix file number in flock.1 man page
According to a search on the internet, the 200 file number is not a
posix shell feature, since posix shells are only mandated to have 1
through 9. I haven't verified that this claim is right, but, at least
dash doesn't like the 200. So here is a patch for the flock man page
that replaces 200 with 9.
Signed-off-by: Patrice Dumas <pertusus@free.fr>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/flock.1')
-rw-r--r-- | sys-utils/flock.1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/flock.1 b/sys-utils/flock.1 index 6d60ff71f..6ae584bd4 100644 --- a/sys-utils/flock.1 +++ b/sys-utils/flock.1 @@ -51,11 +51,11 @@ used the following manner: .PP \fC( .br - flock -s 200 + flock -s 9 .br # ... commands executed under lock ... .br -) 200>/var/lock/mylockfile\fP +) 9>/var/lock/mylockfile\fP .PP The mode used to open the file doesn't matter to \fBflock\fP; using \fC>\fP or \fP>>\fP allows the lockfile to be created if it does not |