Commit ef858de5 authored by Benoît Dejean's avatar Benoît Dejean Committed by Benoît Dejean
Browse files

Attach processes to init. Closes #424850.

2007-04-12  Benoît Dejean  <benoit@placenet.org>

	* src/proctable.cpp:

	Attach processes to init.
	Closes #424850.

svn path=/trunk/; revision=1998
parent 07f4c0be
2007-04-12 Benoît Dejean <benoit@placenet.org>
* src/proctable.cpp:
Attach processes to init.
Closes #424850.
2007-04-10 Benoît Dejean <benoit@placenet.org>
* src/sysinfo.cpp:
......
......@@ -603,8 +603,8 @@ proctable_find_process (guint pid, ProcData *procdata)
static ProcInfo *
find_parent (ProcData *procdata, guint pid)
{
/* ignore init as a parent process */
if (pid <= 1)
// init and other kernel processes
if (pid == 0)
return NULL;
return proctable_find_process(pid, procdata);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment