Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fork-tester.c] Get PPID from env MANAGERPID when systemd run with --…
…user Fix [#3148](#3148) On certain distributions, `systemd` run with the flag `--user`. This means that the manager PID is not 1 but one of it's child process. To fix this, we call the environment variable `MANAGERPID` set by systemd that expose this PID. As `make test` uses sudo rights, you need to pass your local `MANAGERPID` env var to sudo. If the variable is not set, the flag is ignored Signed-off-by: Tristan d'Audibert <[email protected]>
- Loading branch information