Commit e62aa73 1 parent 9839a76 commit e62aa73 Copy full SHA for e62aa73
File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,21 @@ if %ERRORLEVEL% EQU 2 (
19
19
goto :launch_listener
20
20
)
21
21
22
- rem Return code 4 means the runner received an update message.
23
22
if %ERRORLEVEL% EQU 3 (
24
23
echo " Runner listener exit because of updating, re-launch runner in 5 seconds"
25
24
timeout /t 5 /nobreak > NUL
26
25
)
27
26
28
- rem Return code 4 means the ephemeral runner received an update message.
29
27
if %ERRORLEVEL% EQU 4 (
30
28
echo " Runner listener exit because of updating, re-launch ephemeral runner in 5 seconds"
31
29
timeout /t 5 /nobreak > NUL
32
30
)
33
31
32
+ if %ERRORLEVEL% GEQ 5 (
33
+ echo " Exiting with unknown error code: ${returnCode}"
34
+ )
35
+ if [%ERRORLEVEL% ]== [] (
36
+ echo " Exiting with empty error code: ${returnCode}"
37
+ )
38
+
34
39
exit /b %ERRORLEVEL%
You can’t perform that action at this time.
0 commit comments