Skip to content

Commit

Permalink
Return appropriate errorlevels from import .bat files. (#2189)
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz authored Oct 27, 2021
1 parent 7129ca2 commit 8180b64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions import-marc-auth.bat
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@ set EXTRA_SOLRMARC_SETTINGS="-Dsolr.indexer.properties=%MAPPINGS_FILES%"

rem Call the standard script:
call %VUFIND_HOME%\import-marc.bat %1
exit /b %ERRORLEVEL%

:end
1 change: 1 addition & 0 deletions import-marc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ set RUN_CMD=%JAVA% %INDEX_OPTIONS% -Duser.timezone=UTC -Dlog4j.configuration="fi
echo Now Importing %1 ...
echo %RUN_CMD%
%RUN_CMD%
exit /b %ERRORLEVEL%

:end

Expand Down

0 comments on commit 8180b64

Please sign in to comment.