summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/lockf/lockf.18
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/lockf/lockf.1 b/usr.bin/lockf/lockf.1
index 01270cd..f341937 100644
--- a/usr.bin/lockf/lockf.1
+++ b/usr.bin/lockf/lockf.1
@@ -42,7 +42,8 @@ The
.Nm
utility acquires an exclusive lock on a
.Ar file ,
-creating it if necessary.
+creating it if necessary,
+.Em "and removing the file on exit unless explictly told not to."
While holding the lock, it executes a
.Ar command
with optional
@@ -86,6 +87,11 @@ before giving up.
A timeout of 0 may be given, in which case
.Nm
will fail unless it can acquire the lock immediately.
+When a lock times out,
+.Ar command
+is
+.Em not
+executed.
.El
.Pp
In no event will
OpenPOWER on IntegriCloud