Skip to content
Snippets Groups Projects
Commit 6ae90462 authored by Eric Cano's avatar Eric Cano
Browse files

Added missing for request on drive process exit.

parent 5501f580
No related branches found
No related tags found
No related merge requests found
......@@ -584,12 +584,14 @@ SubprocessHandler::ProcessingStatus DriveHandler::processSigChild() {
params.add("exitCode", WEXITSTATUS(processStatus));
m_processManager.logContext().log(log::INFO, "Drive subprocess exited. Will spawn a new one.");
resetToDefault(PreviousSession::OK);
m_processingStatus.forkRequested=true;
} else {
params.add("IfSignaled", WIFSIGNALED(processStatus))
.add("TermSignal", WTERMSIG(processStatus))
.add("CoreDump", WCOREDUMP(processStatus));
m_processManager.logContext().log(log::INFO, "Drive subprocess crashed. Will spawn a new one.");
resetToDefault(PreviousSession::Crashed);
m_processingStatus.forkRequested=true;
}
}
return m_processingStatus;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment