Gentoo Archives: gentoo-portage-dev

From: Aaron Bauman <bman@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Aaron Bauman <bman@g.o>, Bandie Yip Kojote <bandie@××××××.net>
Subject: [gentoo-portage-dev] [PATCH] glsa-check: add man page exit values
Date: Fri, 30 Aug 2019 19:29:08
Message-Id: 20190830192900.442345-1-bman@gentoo.org
1 Bug: https://bugs.gentoo.org/587930
2
3 Reported-by: Bandie Yip Kojote <bandie@××××××.net>
4 Signed-off-by: Aaron Bauman <bman@g.o>
5 ---
6 man/glsa-check.1 | 12 ++++++++++++
7 1 file changed, 12 insertions(+)
8
9 diff --git a/man/glsa-check.1 b/man/glsa-check.1
10 index a0d49d4dd..7ed29c6c0 100644
11 --- a/man/glsa-check.1
12 +++ b/man/glsa-check.1
13 @@ -54,6 +54,18 @@
14 .P
15 \fBglsa\-check \-t 201801\-01\fR Test the system against the specific GLSA 201801\-01\.
16 .
17 +.SH "EXIT VALUES"
18 +\fB0\fR Success
19 +.
20 +.P
21 +\fB1\fR Syntax or usage error
22 +.
23 +.P
24 +\fB2\fR Missing permissions, solution, etc
25 +.
26 +.P
27 +\fB6\fR System is affected by some GLSAs
28 +.
29 .SH "FILES"
30 \fB/var/lib/portage/glsa_injected\fR List of GLSA ids that have been injected and will never show up as \'affected\' on this system\. The file must contain one GLSA ID (e\.g\. \'200804\-02\') per line\.
31 .
32 --
33 2.23.0