aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-25 16:09:15 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-25 16:09:15 +0200
commit950ea167dcb5dbfce7fd7e89dcda49a835dd2a5a (patch)
tree13c99afc26c2524573b3d623069d14006978b3ff
parentbuild: remove alignment whitespace (diff)
downloadwireguard-windows-950ea167dcb5dbfce7fd7e89dcda49a835dd2a5a.tar.xz
wireguard-windows-950ea167dcb5dbfce7fd7e89dcda49a835dd2a5a.zip
installer: build: curl doesnt set %errorlevel%
-rw-r--r--installer/build.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/build.bat b/installer/build.bat
index 57b18616..e7e23036 100644
--- a/installer/build.bat
+++ b/installer/build.bat
@@ -53,7 +53,7 @@ if exist .deps\prepared goto :build
:download
echo [+] Downloading %1
- curl -#fLo %1 %2 || exit /b %errorlevel%
+ curl -#fLo %1 %2 || exit /b 1
echo [+] Verifying %1
for /f %%a in ('CertUtil -hashfile %1 SHA256 ^| findstr /r "^[0-9a-f]*$"') do if not "%%a"=="%~3" exit /b 1
goto :eof