aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/msvc/build.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/msvc/build.bat b/src/tools/msvc/build.bat
index fe736dde471..4f586b69a02 100755
--- a/src/tools/msvc/build.bat
+++ b/src/tools/msvc/build.bat
@@ -17,5 +17,8 @@ if "%CONFIG%" == "" set CONFIG=Debug
if "%1" == "" msbuild pgsql.sln /verbosity:detailed /p:Configuration=%CONFIG%
if not "%1" == "" vcbuild %1.vcproj %CONFIG%
+SET E=%ERRORLEVEL%
cd %STARTDIR%
+
+exit /b %E%