From dc2c0b97e2658253f808bdff85b745a69d96d38d Mon Sep 17 00:00:00 2001 From: Anatoly Matyukhin Date: Fri, 30 Mar 2018 18:19:53 +0700 Subject: [PATCH] [cipd] Do not rewrite ERRORLEVEL cipd.bat is called from bootstrap/win/win_tools.bat. ERRORLEVEL in win_tools.bat script should not mean return code of cipd.bat. Bug: none Change-Id: Ia425d5054fa9c1e1f84b4a10decc265669911646 Reviewed-on: https://chromium-review.googlesource.com/987954 Reviewed-by: Robbie Iannucci Commit-Queue: Robbie Iannucci --- cipd.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cipd.bat b/cipd.bat index 019ac01564..c52d887d48 100644 --- a/cipd.bat +++ b/cipd.bat @@ -25,6 +25,6 @@ if not errorlevel 0 goto :END :END endlocal & ( - set ERRORLEVEL=%ERRORLEVEL% + set EXPORT_ERRORLEVEL=%ERRORLEVEL% ) -exit /b %ERRORLEVEL% +exit /b %EXPORT_ERRORLEVEL%