Closed krisztianloki closed 3 years ago
Looks reasonable. Do you see any chance of side effects? All UID changes and such must have happened before. Probably safe.
I don't see any side effects. Basically witePifDFile()
is just moved up one line into forkAndGo()
(and into the parent process).
Avoids race condition if using a Type=forking systemd service