Update src/windows/wslaservice/exe/WSLAContainer.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Pooja Trivedi 2025-12-08 23:15:07 -05:00 committed by GitHub
parent 63ec07cc7c
commit 38d53f6f6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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});