diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2021-05-09 16:18:35 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2021-05-09 16:18:35 +0300 |
commit | 23e56af95d2aeef6c19b17d770c6ec5837aff839 (patch) | |
tree | a1f3503818f1f931f8c372b7af70c699f696acd4 /tests/builtin.at | |
parent | 2a48900a57a4269bd9d66f80d6e3e105bf40678d (diff) | |
download | pies-23e56af95d2aeef6c19b17d770c6ec5837aff839.tar.gz pies-23e56af95d2aeef6c19b17d770c6ec5837aff839.tar.bz2 |
When checking pidfile, ignore it if the reported pid equals getpid()
This is mainly to avoid failures on stale pidfiles when ruinning with
PID 1 (init or docker entrypoint) and also for less-probable cases when
starting with the same PID as the one stored in the stale pidfile.
Diffstat (limited to 'tests/builtin.at')
0 files changed, 0 insertions, 0 deletions