Fixes typo in redirected error stream

autoupdate.bat created a file called "NULL".
This commit is contained in:
Pythagoras 2021-01-03 08:49:43 +01:00
parent 524a255e6e
commit cd57afc65a
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ if exist %windir%\system32\query.exe (
`query session rdp-tcp`
) do (
set rdp_tcp_session=%%a
set /a rdp_tcp_session_id=%%b 2>NULL
set /a rdp_tcp_session_id=%%b 2>nul
)
) else (
for /f "tokens=2* usebackq" %%a in (