diff options
author | Mohammed Rafi KC <rkavunga@redhat.com> | 2019-07-04 15:43:05 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-08-05 06:48:20 +0000 |
commit | 8e47ae31e4477dc50eaf7604860ff8e7139ea547 (patch) | |
tree | e24e85e98dcdbafb7cdda78a3d0363a1bcb3d77f /glusterfsd/src | |
parent | 16548f11ab5433223c6d9a7e71f8dc2a925d1e5b (diff) |
glusterd/shd: Return null proc if process is not running.
We were ruturning first proc entry even if it is not running.
This was in an assumption that the process could have just
started and not updated the pidfile.
Now we that we have introduced the states for process state,
we can take decision based on that.
Change-Id: Ibfc11c966b0db599a8d6a08d8b975233b2bbfb8c
Fixes: bz#1728766
Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Diffstat (limited to 'glusterfsd/src')
0 files changed, 0 insertions, 0 deletions