diff --git a/modules/ControlPanel/ospanel_data/default/templates/osp.bat b/modules/ControlPanel/ospanel_data/default/templates/osp.bat index 2cbd5fed2..407e5e276 100644 --- a/modules/ControlPanel/ospanel_data/default/templates/osp.bat +++ b/modules/ControlPanel/ospanel_data/default/templates/osp.bat @@ -192,7 +192,7 @@ if defined OSP_TMPVAL ( echo: if not exist "{root_dir}\logs\%OSP_TMP_NAME%.log" echo %ESC%[90m{lang_empty_log}%ESC%[0m if exist "{root_dir}\logs\%OSP_TMP_NAME%.log" for %%S in ("{root_dir}\logs\%OSP_TMP_NAME%.log") do if %%~zS==0 (echo %ESC%[90m{lang_empty_log}%ESC%[0m) else ( - if "%3"=="" "{root_dir}\system\bin\tail.exe" "{root_dir}\logs\%OSP_TMP_NAME%.log" + if "%3"=="" "{root_dir}\system\bin\tail.exe" "{root_dir}\logs\%OSP_TMP_NAME%.log" 15 if not "%3"=="" "{root_dir}\system\bin\tail.exe" "{root_dir}\logs\%OSP_TMP_NAME%.log" %3 echo %ESC%[0m ) @@ -204,7 +204,7 @@ if defined OSP_TMPVAL ( if /i not "%OSP_TMP_NAME%"=="all" echo: if not exist "{root_dir}\logs\%%a_console.log" echo %ESC%[90m{lang_empty_log}%ESC%[0m if exist "{root_dir}\logs\%%a_console.log" for %%S in ("{root_dir}\logs\%%a_console.log") do if %%~zS==0 (echo %ESC%[90m{lang_empty_log}%ESC%[0m) else ( - if "%3"=="" "{root_dir}\system\bin\tail.exe" "{root_dir}\logs\%%a_console.log" + if "%3"=="" "{root_dir}\system\bin\tail.exe" "{root_dir}\logs\%%a_console.log" 15 if not "%3"=="" "{root_dir}\system\bin\tail.exe" "{root_dir}\logs\%%a_console.log" %3 echo %ESC%[0m ) @@ -257,7 +257,7 @@ for %%a in (%OSP_TMPVAL%) do ( "{root_dir}\system\bin\curl.exe" -f -s {cmd_api_url}/%1/%%a/%3 if !errorlevel! gtr 0 call :echo_error %1 %OSP_TMP_NAME% %3 ) - if !errorlevel!==0 if /i "%1"=="status" if exist "{root_dir}\logs\%%a_console.log" for %%S in ("{root_dir}\logs\%%a_console.log") do if not %%~zS==0 echo: & "{root_dir}\system\bin\tail.exe" "{root_dir}\logs\%%a_console.log" & echo %ESC%[0m + if !errorlevel!==0 if /i "%1"=="status" if exist "{root_dir}\logs\%%a_console.log" for %%S in ("{root_dir}\logs\%%a_console.log") do if not %%~zS==0 echo: & "{root_dir}\system\bin\tail.exe" "{root_dir}\logs\%%a_console.log" 15 & echo %ESC%[0m ) endlocal goto end diff --git a/system/bin/tail.exe b/system/bin/tail.exe index a81a02666..e948adf31 100644 --- a/system/bin/tail.exe +++ b/system/bin/tail.exe @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4c1a2722b60b37da74fdb6ace79bf903a268b8d68ca098d330176b8a10daa5ed +oid sha256:fd6ed28fdc959c4a973f71417407d3c03d8e4343955a5a970b0cfa00a6c19b44 size 1592320