summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-02-01 22:01:00 -0500
committerSam James <sam@gentoo.org>2024-02-02 04:33:18 +0000
commit7faa918e54130698215f6c8230a174005462a8af (patch)
treefbfa0799443d3fcb0d9f020cba82b787322e8ea5 /sec-policy/selinux-uwsgi
parentdev-util/aruba: Keyword 2.2.0 sparc, #916520 (diff)
downloadgentoo-7faa918e54130698215f6c8230a174005462a8af.tar.gz
gentoo-7faa918e54130698215f6c8230a174005462a8af.tar.bz2
gentoo-7faa918e54130698215f6c8230a174005462a8af.zip
app-misc/ca-certificates: fix ewwy gross warning when no hooks exist
In the previous patch to update-ca-certificates, a continuation was omitted for the case where no hooks exist, and POSIX sh expanded the glob to "*". Bash has nullglob for this, but the POSIX solution is to check if it is a file and skip otherwise. The result: running update-ca-certificates logged an exit 127 of the hook, then blithely continued and returned overall success since hooks aren't defined as required to succeed. Instead, we avoid running nonexistent hooks, which avoids logging any return values and still continues while returning overall success, so, no actual difference. But it does look nicer. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sec-policy/selinux-uwsgi')
0 files changed, 0 insertions, 0 deletions