mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 20:00:51 -05:00
Merge topic 'windows-mt-update-quiet'
5c07d390 cmcmd: Fix typo in RunCommand logic
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1473
This commit is contained in:
+1
-1
@@ -1595,7 +1595,7 @@ static bool RunCommand(const char* comment, std::vector<std::string>& command,
|
||||
retCode == 0 || (retCodeOkay && retCodeOkay(retCode));
|
||||
bool const success = commandResult && retCodeSuccess;
|
||||
if (retCodeOut) {
|
||||
if (commandResult || !retCodeOkay) {
|
||||
if (commandResult || !retCodeSuccess) {
|
||||
*retCodeOut = retCode;
|
||||
} else {
|
||||
*retCodeOut = -1;
|
||||
|
||||
Reference in New Issue
Block a user