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 exit code for affected GLSAs
Date: Fri, 30 Aug 2019 19:19:02
Message-Id: 20190830191856.438504-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 bin/glsa-check | 1 +
7 1 file changed, 1 insertion(+)
8
9 diff --git a/bin/glsa-check b/bin/glsa-check
10 index 83ea6b7c3..b3ddc532a 100755
11 --- a/bin/glsa-check
12 +++ b/bin/glsa-check
13 @@ -282,6 +282,7 @@ if mode == "test":
14 summarylist(outputlist)
15 else:
16 sys.stdout.write("\n".join(outputlist)+"\n")
17 + sys.exit(6)
18 else:
19 sys.stderr.write("This system is not affected by any of the listed GLSAs\n")
20 sys.exit(0)
21 --
22 2.23.0

Replies