From 79261d4d27baa26f13be16343f995e55ecbf550c Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Thu, 23 Jul 2020 13:36:50 -0400 Subject: [PATCH] fix --- vendor/lib/lib_path.cmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vendor/lib/lib_path.cmd b/vendor/lib/lib_path.cmd index a8fe253..55d28cb 100644 --- a/vendor/lib/lib_path.cmd +++ b/vendor/lib/lib_path.cmd @@ -168,7 +168,8 @@ exit /b set "position=" ) - dir "%add_path%" | findstr -i "\.COM \.EXE \.BAT \.CMD \.PS1 \.VBS" >NUL + dir "%add_path%" >NUL | findstr -i "\.COM \.EXE \.BAT \.CMD \.PS1 \.VBS" >NUL + if "%ERRORLEVEL%" == "0" ( set "add_to_path=%add_path%" ) else (