Skip to content

Commit

Permalink
Log and format
Browse files Browse the repository at this point in the history
  • Loading branch information
fhammerl committed Dec 13, 2021
1 parent b2598a6 commit 2a4e99f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Misc/layoutroot/run-helper.cmd.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ rem `if ERRORLEVEL N` means: error level is N or MORE

if %ERRORLEVEL% EQU 0 (
echo "Runner listener exit with 0 return code, stop the service, no retry needed."
exit /b 0
exit /b 0
)

if %ERRORLEVEL% EQU 1 (
echo "Runner listener exit with terminated error, stop the service, no retry needed."
exit /b 0
exit /b 0
)

if %ERRORLEVEL% EQU 2 (
Expand Down
2 changes: 1 addition & 1 deletion src/Misc/layoutroot/run.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ if %ERRORLEVEL% EQU 1 (
echo "Restarting runner..."
goto :launch_helper
) else (
echo "Exit runner after it exited with return code '%ERRORLEVEL%'"
echo "Exiting runner..."
exit 0
)

0 comments on commit 2a4e99f

Please sign in to comment.