mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 00:44:55 -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
63ec07cc7c
commit
38d53f6f6d
@ -90,7 +90,7 @@ try
|
||||
RETURN_HR_IF_MSG(
|
||||
HRESULT_FROM_WIN32(ERROR_INVALID_STATE),
|
||||
m_state != WslaContainerStateRunning,
|
||||
"No such running or exited container '%hs', state: %i",
|
||||
"Container '%hs' is not in a stoppable state: %i",
|
||||
m_name.c_str(),
|
||||
m_state);
|
||||
ServiceProcessLauncher launcher(nerdctlPath, {nerdctlPath, "stop", m_name});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user