Commit 55dc661e authored by Eric Cano's avatar Eric Cano
Browse files

Added missing for request on drive process exit.

parent 4809002a
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment