From ba108736b370b704fe08d2051460994d47538a03 Mon Sep 17 00:00:00 2001 From: lvyitian <15988566900@qq.com> Date: Fri, 5 May 2023 16:32:36 +0800 Subject: [PATCH] Update as.bat (#2496) Fix "exit was unexpected at this time" --- bin/as.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/as.bat b/bin/as.bat index 18bd402e7..4521356ee 100755 --- a/bin/as.bat +++ b/bin/as.bat @@ -115,5 +115,5 @@ IF %ERRORLEVEL% NEQ 0 ( ) :exit_bat -if %exitProcess%==1 exit %ERROR_CODE% +if "%exitProcess%"=="1" exit %ERROR_CODE% exit /B %ERROR_CODE%