From 90e072b6333f9a1a2a16d1c5b061a5828813f977 Mon Sep 17 00:00:00 2001 From: Wang Long Date: Tue, 22 Nov 2016 16:39:17 +0800 Subject: [PATCH] reboot.2: Note errors for invalid commands inside a PID namespace Signed-off-by: Wang Long --- man2/reboot.2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man2/reboot.2 b/man2/reboot.2 index db0806c07..2dfaeb73f 100644 --- a/man2/reboot.2 +++ b/man2/reboot.2 @@ -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