From 6754c49e02b62d54b9b5d8b8b8a93e77bae935f8 Mon Sep 17 00:00:00 2001 From: Josip Sokcevic Date: Tue, 7 Jun 2022 22:57:21 +0000 Subject: [PATCH] Revert "Make depot_tools scripts return exit codes properly on all platforms." This reverts commit 7c4f7ec40818ddd883aa0a3b132cea06af92a713. Reason for revert: bugs reported by users (see comments in Gerrit). error: block. was unexpected at this time. Original change's description: > Make depot_tools scripts return exit codes properly on all platforms. > > Changes: > 1. Windows: exit /b %errorlevel% should be used instead of goto :EOF to get valid exit codes during cmd /c