mirror of
https://github.com/reactos/reactos.git
synced 2026-06-20 18:16:13 +08:00
[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:
@@ -36,8 +36,6 @@ ErrorMessage(
|
||||
if (dwErrorCode == ERROR_SUCCESS)
|
||||
return;
|
||||
|
||||
nErrorLevel = 1;
|
||||
|
||||
*szMessage = 0;
|
||||
if (szFormat)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user