[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
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

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