mirror of
https://github.com/facebook/zstd.git
synced 2025-03-06 16:56:49 +02:00
ensure that a copy error results in the task failing clearly
error code != 0, red status checked by intentionally inserting an error in another run
This commit is contained in:
parent
017ada44b5
commit
e94e09dd7b
@ -23,6 +23,7 @@ COPY programs\zstd.exe bin\zstd.exe || (SET CpyError=%CpyError% programs\zstd.ex
|
||||
IF "[%CpyError%]" == "[]" goto :EOF
|
||||
|
||||
:error
|
||||
SET errorlevel=1
|
||||
echo Failed with error #%errorlevel%: unable to copy following files:
|
||||
echo %CpyError%
|
||||
exit /b %errorlevel%
|
||||
|
Loading…
x
Reference in New Issue
Block a user