[CMD] It is not the job of ErrorMessage() to set the errorlevel! It is set only by the commands that want it.

This commit is contained in:
Hermès Bélusca-Maïto
2020-07-12 00:03:23 +02:00
parent 3b960a1c21
commit 9871becced

View File

@@ -36,8 +36,6 @@ ErrorMessage(
if (dwErrorCode == ERROR_SUCCESS)
return;
nErrorLevel = 1;
*szMessage = 0;
if (szFormat)
{