diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-10-05 11:51:09 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-10-05 18:50:27 +0200 |
commit | bea5638a3be2834bbd6cb6755bb0d5fe19bfbffa (patch) | |
tree | 601b625c39ec8e42f5cd45dfd45ade5ced9a91d3 /src/sbus | |
parent | 09df21597db6fa5e8b954bea810b9bf7c98bafb4 (diff) | |
download | sssd-bea5638a3be2834bbd6cb6755bb0d5fe19bfbffa.tar.gz sssd-bea5638a3be2834bbd6cb6755bb0d5fe19bfbffa.tar.bz2 sssd-bea5638a3be2834bbd6cb6755bb0d5fe19bfbffa.zip |
do not create pid file twice
If a provider is terminated and the monitor tries to restart it,
it goes again through mark_service_as_started() which
will try to create pid file again because number of running
services didn't change.
Because the pid file cannot be created twice, it will not return
EOK and the whole SSSD is terminated.
Diffstat (limited to 'src/sbus')
0 files changed, 0 insertions, 0 deletions