diff --git a/server/process.c b/server/process.c index 8480592501a8b89ca2e84aa43870edb4ccfe852f..e06d72dd2e2230e2f3f3484630a5315ff8623581 100644 --- a/server/process.c +++ b/server/process.c @@ -160,7 +160,7 @@ static void process_dump( struct object *obj, int verbose ) static int process_signaled( struct object *obj, struct thread *thread ) { struct process *process = (struct process *)obj; - return (process->running_threads > 0); + return !process->running_threads; } /* get a process from an id (and increment the refcount) */