core: limit the LSan shenanigans to PID 1
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 18 Sep 2023 10:34:42 +0000 (12:34 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 18 Sep 2023 11:11:45 +0000 (13:11 +0200)
commit7b19bd60cf1ec57a8bd8da1152eae3cbcdd4db34
treed990eb13bfd75c8f11687b7296dda1c347790cba
parentbcf3acea75049fd85d8724126fbd6e24186f954c
core: limit the LSan shenanigans to PID 1

Addresses https://github.com/systemd/systemd/pull/29194#pullrequestreview-1630530753.
Follow-up to ae5ce7e.
src/core/main.c