|
@@ -132,7 +132,7 @@ void sys__exit(int exitcode)
|
|
|
kprintf("This is the exitcode: %d\n", p->parent->exitcode);
|
|
|
}
|
|
|
if (!(p->parent)) proc_destroy(p);
|
|
|
- else if (p->parent->exitcode >= 0)
|
|
|
+ else if (p->parent->exitcode != -1)
|
|
|
{
|
|
|
kprintf("This is the exitcode: %d\n", p->parent->exitcode);
|
|
|
proc_destroy(p);
|