]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/manager.c
manager: add MANAGER_IS_RUNNING() for checking whether the manager is running
authorLennart Poettering <lennart@poettering.net>
Tue, 23 Jan 2018 15:43:56 +0000 (16:43 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 23 Jan 2018 15:43:56 +0000 (16:43 +0100)
commit4259d202159bc22ea0a01cdd3475ba5500b79301
treef1b63a69347461f1c324d91c663fd3455873851d
parent4adf314b770d42d59c8ccfca6642db61d580f26f
manager: add MANAGER_IS_RUNNING() for checking whether the manager is running

This macro is useful as the check is not obvious, and we better abstract
this away.
src/core/manager.c
src/core/manager.h