Commit 0db30fd0 authored by Miroslav Lichvar's avatar Miroslav Lichvar
Browse files

main: wait for parent process to terminate



When starting the daemon, wait in the grandparent process for the parent
process to terminate before exiting to avoid systemd logging a warning
"Supervising process $PID which is not our child". Waiting for the pipe
to be closed by the kernel when the parent process exits is not
sufficient.

Reported-by: default avatarJan Pazdziora <jpazdziora@redhat.com>
parent b90d2c08
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment