mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Return back posix_setsid() for sending anonymous stats
This commit is contained in:
parent
86ca7be1cb
commit
6fd636910b
@ -27,6 +27,7 @@ class Reporter
|
|||||||
self::send($stats);
|
self::send($stats);
|
||||||
} elseif ($pid === 0) {
|
} elseif ($pid === 0) {
|
||||||
// Child process.
|
// Child process.
|
||||||
|
posix_setsid();
|
||||||
self::send($stats);
|
self::send($stats);
|
||||||
// Close child process after doing job.
|
// Close child process after doing job.
|
||||||
exit(0);
|
exit(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user