commit:     4d9c10704b2eaf6cd7467ff0929a94e64429bfa6
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 19:18:56 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Aug 31 03:40:06 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=4d9c1070

glsa-check: add exit code for affected GLSAs

Bug: https://bugs.gentoo.org/587930

Reported-by: Bandie Yip Kojote <bandie <AT> ttygap.net>
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 bin/glsa-check | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/glsa-check b/bin/glsa-check
index 7a6916d15..95ef16fde 100755
--- a/bin/glsa-check
+++ b/bin/glsa-check
@@ -305,6 +305,7 @@ if mode == "test":
                        summarylist(outputlist)
                else:
                        sys.stdout.write("\n".join(outputlist)+"\n")
+                       sys.exit(6)
        else:
                sys.stderr.write("This system is not affected by any of the 
listed GLSAs\n")
        sys.exit(0)

Reply via email to