1 |
commit: 4d9c10704b2eaf6cd7467ff0929a94e64429bfa6 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 30 19:18:56 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 31 03:40:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=4d9c1070 |
7 |
|
8 |
glsa-check: add exit code for affected GLSAs |
9 |
|
10 |
Bug: https://bugs.gentoo.org/587930 |
11 |
|
12 |
Reported-by: Bandie Yip Kojote <bandie <AT> ttygap.net> |
13 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
14 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
15 |
|
16 |
bin/glsa-check | 1 + |
17 |
1 file changed, 1 insertion(+) |
18 |
|
19 |
diff --git a/bin/glsa-check b/bin/glsa-check |
20 |
index 7a6916d15..95ef16fde 100755 |
21 |
--- a/bin/glsa-check |
22 |
+++ b/bin/glsa-check |
23 |
@@ -305,6 +305,7 @@ if mode == "test": |
24 |
summarylist(outputlist) |
25 |
else: |
26 |
sys.stdout.write("\n".join(outputlist)+"\n") |
27 |
+ sys.exit(6) |
28 |
else: |
29 |
sys.stderr.write("This system is not affected by any of the listed GLSAs\n") |
30 |
sys.exit(0) |