mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-11 03:40:23 -06:00
Update src/windows/wslaservice/exe/WSLAContainer.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
be9cdce0dd
commit
d1aab6400c
@ -85,7 +85,7 @@ try
|
|||||||
{
|
{
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
// Validate that the container is in the exited state.
|
// Validate that the container is in the running state.
|
||||||
RETURN_HR_IF_MSG(
|
RETURN_HR_IF_MSG(
|
||||||
HRESULT_FROM_WIN32(ERROR_INVALID_STATE),
|
HRESULT_FROM_WIN32(ERROR_INVALID_STATE),
|
||||||
m_state != WslaContainerStateRunning,
|
m_state != WslaContainerStateRunning,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user