* [gentoo-portage-dev] [PATCH] glsa-check: add exit code for affected GLSAs
@ 2019-08-30 19:18 Aaron Bauman
2019-08-31 6:40 ` Zac Medico
0 siblings, 1 reply; 2+ messages in thread
From: Aaron Bauman @ 2019-08-30 19:18 UTC (permalink / raw
To: gentoo-portage-dev; +Cc: Aaron Bauman, Bandie Yip Kojote
Bug: https://bugs.gentoo.org/587930
Reported-by: Bandie Yip Kojote <bandie@ttygap.net>
Signed-off-by: Aaron Bauman <bman@gentoo.org>
---
bin/glsa-check | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/glsa-check b/bin/glsa-check
index 83ea6b7c3..b3ddc532a 100755
--- a/bin/glsa-check
+++ b/bin/glsa-check
@@ -282,6 +282,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)
--
2.23.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [gentoo-portage-dev] [PATCH] glsa-check: add exit code for affected GLSAs
2019-08-30 19:18 [gentoo-portage-dev] [PATCH] glsa-check: add exit code for affected GLSAs Aaron Bauman
@ 2019-08-31 6:40 ` Zac Medico
0 siblings, 0 replies; 2+ messages in thread
From: Zac Medico @ 2019-08-31 6:40 UTC (permalink / raw
To: gentoo-portage-dev, Aaron Bauman; +Cc: Bandie Yip Kojote
[-- Attachment #1.1: Type: text/plain, Size: 801 bytes --]
On 8/30/19 12:18 PM, Aaron Bauman wrote:
> Bug: https://bugs.gentoo.org/587930
>
> Reported-by: Bandie Yip Kojote <bandie@ttygap.net>
> Signed-off-by: Aaron Bauman <bman@gentoo.org>
> ---
> bin/glsa-check | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/bin/glsa-check b/bin/glsa-check
> index 83ea6b7c3..b3ddc532a 100755
> --- a/bin/glsa-check
> +++ b/bin/glsa-check
> @@ -282,6 +282,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)
>
Thanks, merged:
https://gitweb.gentoo.org/proj/portage.git/commit/?id=4d9c10704b2eaf6cd7467ff0929a94e64429bfa6
--
Thanks,
Zac
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 981 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-31 6:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-30 19:18 [gentoo-portage-dev] [PATCH] glsa-check: add exit code for affected GLSAs Aaron Bauman
2019-08-31 6:40 ` Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox