Make commandtest more robust wrt its execution environment
When executed from cron, commandtest would fail to correctly identify daemon processes. Set session ID and process group IDs at startup to ensure we have a consistent environment to run in. * tests/commandtest.c: Call setsid() and setpgid()
Showing
想要评论请 注册 或 登录