# Different exit-values `glsa-check -t affected` returns `6` when there are affected-packages. `glsa-check -t -v affected` returns `0` Error is here [https://github.com/gentoo/portage/blob/master/bin/glsa-check#L419] the return-code 6 is only given, the `verbose`-flag is not set. The indent is one level to deep. # No exit-value in list-mode `glsa-check -l affected` returns `0` in any case. Even worser: the package-listing is printed to `std-out`, and the legend at the bottom is printed to `std_err`. The other way round would be more sensible. Reproducible: Always
Created attachment 920152 [details, diff] Patch to make glsa-check a more consistent.