Fix broken Pid constructor
This commit is contained in:
parent
edbfe2232e
commit
d0eb970fb4
1 changed files with 2 additions and 5 deletions
|
@ -708,17 +708,14 @@ void AutoCloseDir::close()
|
|||
|
||||
|
||||
Pid::Pid()
|
||||
: pid(-1), separatePG(false), killSignal(SIGKILL)
|
||||
{
|
||||
pid = -1;
|
||||
separatePG = false;
|
||||
killSignal = SIGKILL;
|
||||
}
|
||||
|
||||
|
||||
Pid::Pid(pid_t pid)
|
||||
: pid(pid), separatePG(false), killSignal(SIGKILL)
|
||||
{
|
||||
Pid();
|
||||
*this = pid;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue