summaryrefslogtreecommitdiff
path: root/coccinelle/empty-if.cocci
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-12 04:16:20 -0500
committerLennart Poettering <lennart@poettering.net>2017-01-12 10:16:20 +0100
commit13749f547357f8e9ec398680548f818dea3aba1c (patch)
treec8047237249c177ed0ab376d2ab311c9d80267f7 /coccinelle/empty-if.cocci
parenta69f65dd3d45a507dbef399263bb0114bd245afe (diff)
rpm triggers: do nothing if systemd is not running (#5065)
If we are running in a chroot/container/..., we would print a useless warning about not being able to communicate with systemd. Trying to do daemon-reload is pointless in those cases, so let's just skip all actions in that case. The check uses /run/system/system, as recommended by sd_booted(3). https://bugzilla.redhat.com/show_bug.cgi?id=1411299
Diffstat (limited to 'coccinelle/empty-if.cocci')
0 files changed, 0 insertions, 0 deletions