forked from lix-project/lix
Fix broken Pid constructor
This commit is contained in:
parent
edbfe2232e
commit
d0eb970fb4
|
@ -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