summaryrefslogtreecommitdiff
path: root/src/basic/env-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-02-25 08:56:57 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-25 11:32:28 +0100
commit9c274488a9168f8284dc99882856ca79ce2aa132 (patch)
tree82f8a85d40d464998b08e9b0a8fb1c0719fa9f2e /src/basic/env-util.c
parent155d626bc6dbf87728bb343fd787f5daf942edf4 (diff)
downloadsystemd-9c274488a9168f8284dc99882856ca79ce2aa132.tar.gz
signal-util: make -1 termination of ignore_signals() argument list unnecessary
Clean up ignore_signals() + default_signals() + sigaction_many() a bit: make it unnecessary to explicitly terminate the signal list with -1. Merge all three calls into a single function that is just called with slightly different parameters. And eliminate an unnecessary extra iteration in its inner for() loop. No change in behaviour.
Diffstat (limited to 'src/basic/env-util.c')
0 files changed, 0 insertions, 0 deletions