diff --git a/client/app.C b/client/app.C index 71a49d59dc..3c644fa45c 100644 --- a/client/app.C +++ b/client/app.C @@ -338,6 +338,8 @@ int ACTIVE_TASK::start(bool first_time) { NULL, win_error, 0, (LPTSTR)&lpMsgBuf, 0, errorargs ); + state = PROCESS_COULDNT_START; + result->active_task_state = PROCESS_COULDNT_START; if (win_error) { gstate.report_result_error(*result, win_error, (LPTSTR)&lpMsgBuf); LocalFree(lpMsgBuf);