mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[FIND] Return from the utility the success value from the FindString() function in all cases.
CORE-16356 Therefore the ERRORLEVEL value will be correctly set in accordance on return from the utility in cmd.exe, and conditional tests based on this returned value will succeed as they should.
This commit is contained in:
parent
90c9a67993
commit
1a31d8222d
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ int wmain(int argc, WCHAR* argv[])
|
|||
}
|
||||
else
|
||||
{
|
||||
FindString(stdin, NULL, argv[iSearchedStringIndex]);
|
||||
iReturnValue = FindString(stdin, NULL, argv[iSearchedStringIndex]);
|
||||
}
|
||||
|
||||
return iReturnValue;
|
||||
|
|
Loading…
Reference in a new issue