diff --git a/client/app_control.C b/client/app_control.C index 5091b59dc9..07d7604ab1 100644 --- a/client/app_control.C +++ b/client/app_control.C @@ -549,6 +549,7 @@ bool ACTIVE_TASK_SET::check_quit_timeout_exceeded() { unsigned int j; ACTIVE_TASK *atp; double now = dtime(); + bool retval = false; for (j=0;jpending_suspend_via_quit) { if ((now - atp->pending_suspend_via_quit_time) > 10.0) { atp->kill_task(); - return true; + retval = true; } } } - return false; + return retval; } // If process is running, send it a kill signal