mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 23:53:11 +00: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:
parent
3b960a1c21
commit
9871becced
1 changed files with 0 additions and 2 deletions
|
@ -36,8 +36,6 @@ ErrorMessage(
|
||||||
if (dwErrorCode == ERROR_SUCCESS)
|
if (dwErrorCode == ERROR_SUCCESS)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
nErrorLevel = 1;
|
|
||||||
|
|
||||||
*szMessage = 0;
|
*szMessage = 0;
|
||||||
if (szFormat)
|
if (szFormat)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue