[PATCH 12/15] prlimit: add note to man page that setting limits without
--pid is pointless.
Signed-off-by: Bernhard Voelker <mail@xxxxxxxxxxxxxxxxxxx>
---
sys-utils/prlimit.1 | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sys-utils/prlimit.1 b/sys-utils/prlimit.1
index cc40ac4..fa45aca 100644
--- a/sys-utils/prlimit.1
+++ b/sys-utils/prlimit.1
@@ -33,6 +33,9 @@ OPTIONS section.
.SH GENERAL OPTIONS
.IP "\fB\-p, \-\-pid\fP"
Specify the process id, if none is given, it will use the running process.
+Please note that changing limits without specifying a PID is pointless,
+because then it will change the limit of the prlimit process which will
+shortly exit afterwards.
.IP "\fB\-o, \-\-output \fIlist\fP"
Define the output columns to use. If no output arrangement is
specified, then a default set is used.
Use \fB\-\-help\fP to get list of all supported columns.
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html