URL:
https://github.com/SSSD/sssd/pull/924
Author: alexey-tikhonov
Title: #924: [WiP] Amend util/server.c:become_daemon()
Action: opened
PR body:
"""
Fixed a number of issues in/with `become_daemon()` function.
Among others fixed this covscan issue:
```
Error: CLANG_WARNING:
sssd-2.2.3/src/util/server.c:98:25: warning: Value stored to 'ret' is never read
# ret = 1;
# ^ ~
sssd-2.2.3/src/util/server.c:98:25: note: Value stored to 'ret' is never read
# ret = 1;
# ^ ~
# 96| /* Forcibly kill this child */
# 97| kill(pid, SIGKILL);
# 98|-> ret = 1;
# 99| }
# 100| }
```
This PR is marked as [WiP] as it has to be rebased on the top of PR #921.
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/924/head:pr924
git checkout pr924