diff --git a/filesystem/mingw32_shell.bat b/filesystem/mingw32_shell.bat index 039a40a4..099af4d9 100644 --- a/filesystem/mingw32_shell.bat +++ b/filesystem/mingw32_shell.bat @@ -26,15 +26,15 @@ if "x%MSYSCON%" == "xconsole.exe" goto startconsolez :startmintty if NOT EXIST %WD%mintty.exe goto startsh start %WD%mintty -i /msys2.ico /usr/bin/bash --login %* -exit +exit /b %ERRORLEVEL% :startconsolez cd %WD%..\lib\ConsoleZ start console -t "MinGW" -r "%*" -exit +exit /b %ERRORLEVEL% :startsh start %WD%sh --login -i %* -exit +exit /b %ERRORLEVEL% :EOF diff --git a/filesystem/mingw64_shell.bat b/filesystem/mingw64_shell.bat index e5923137..5cc16bf6 100644 --- a/filesystem/mingw64_shell.bat +++ b/filesystem/mingw64_shell.bat @@ -26,15 +26,15 @@ if "x%MSYSCON%" == "xconsole.exe" goto startconsolez :startmintty if NOT EXIST %WD%mintty.exe goto startsh start %WD%mintty -i /msys2.ico /usr/bin/bash --login %* -exit +exit /b %ERRORLEVEL% :startconsolez cd %WD%..\lib\ConsoleZ start console -t "MinGW" -r "%*" -exit +exit /b %ERRORLEVEL% :startsh start %WD%sh --login -i %* -exit +exit /b %ERRORLEVEL% :EOF diff --git a/filesystem/msys2_shell.bat b/filesystem/msys2_shell.bat index e5e678da..1ec6262e 100644 --- a/filesystem/msys2_shell.bat +++ b/filesystem/msys2_shell.bat @@ -26,15 +26,15 @@ if "x%MSYSCON%" == "xconsole.exe" goto startconsolez :startmintty if NOT EXIST %WD%mintty.exe goto startsh start %WD%mintty -i /msys2.ico /usr/bin/bash --login %* -exit +exit /b %ERRORLEVEL% :startconsolez cd %WD%..\lib\ConsoleZ start console -t "MSys2" -r "%*" -exit +exit /b %ERRORLEVEL% :startsh start %WD%sh --login -i %* -exit +exit /b %ERRORLEVEL% :EOF