]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
reboot.2: Note errors for invalid commands inside a PID namespace
authorWang Long <long.wanglong@huawei.com>
Tue, 22 Nov 2016 08:39:17 +0000 (16:39 +0800)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 22 Nov 2016 08:53:14 +0000 (09:53 +0100)
Signed-off-by: Wang Long <long.wanglong@huawei.com>
man2/reboot.2

index db0806c07bf6ac00a300190f250da464cc87bdc5..2dfaeb73fb26999fc9ddc739c74e9ca5574c1761 100644 (file)
@@ -185,6 +185,12 @@ and
 cause a
 .B SIGINT
 signal to be sent.
+For the other
+.I cmd
+values, \-1 is returned and
+.I errno
+is set to
+.BR EINVAL .
 .SH RETURN VALUE
 For the values of
 .I cmd