From bc267f16e49c903f4eff40fbfe48959d610bfa6b Mon Sep 17 00:00:00 2001 From: asmtron <49522124+asmtron@users.noreply.github.com> Date: Wed, 4 Sep 2019 16:37:09 +0000 Subject: [PATCH] Update autoupdate.bat --- bin/autoupdate.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/autoupdate.bat b/bin/autoupdate.bat index 7a232bc..bdf819d 100644 --- a/bin/autoupdate.bat +++ b/bin/autoupdate.bat @@ -7,7 +7,7 @@ REM ------------------------------------------------------------------- REM REM autoupdate.bat REM -REM Automatic RDP Wrapper installer and updater // asmtron (16-08-2019) +REM Automatic RDP Wrapper installer and updater // asmtron (20-08-2019) REM ------------------------------------------------------------------- REM Options: REM -log = redirect display output to the file autoupdate.log @@ -110,7 +110,9 @@ for /f "tokens=1-2* usebackq" %%a in ( ) if %rdp_tcp_session%=="" ( echo [-] Listener session rdp-tcp NOT found^^! - call :install + if %rdpwrap_installed%=="0" ( + call :install + ) ) else ( echo [+] Found listener session: %rdp_tcp_session% ^(ID: %rdp_tcp_session_id%^). )