Fix an issue where trying to wake up a zombie would do exactly what that sounds like it would do

This commit is contained in:
Kevin Lange 2017-01-23 22:59:31 +09:00
parent 1156fe1f09
commit e1cc8a936b

View File

@ -515,7 +515,7 @@ void task_exit(int retval) {
process_t * parent = process_get_parent((process_t *)current_process);
if (parent) {
if (parent && !parent->finished) {
wakeup_queue(parent->wait_queue);
}