From 2c38b51996941a043d68d197a957da1c04600899 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Tue, 6 Sep 2022 11:43:12 +0530 Subject: [PATCH] Fix a bug where it would show a failure even after conda created the environment successfully. Was caused by git clone returning an exit status of 1 even when successful --- scripts/on_sd_start.bat | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 520a62fa..a1f78571 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -19,10 +19,6 @@ @set cmd_had_error=T ) - if "%ERRORLEVEL%" NEQ "0" ( - @set cmd_had_error=T - ) - if "%cmd_had_error%"=="T" ( @echo "Error downloading Stable Diffusion. Please try re-running this installer. If it doesn't work, please copy the messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB or file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues" pause