mirror of
https://github.com/lstprjct/IDM-Activation-Script.git
synced 2026-06-04 21:03:32 +08:00
fix: Log DNS flush failures
This commit is contained in:
parent
bddb165e81
commit
fcc26ed5f1
2
IAS.cmd
2
IAS.cmd
@ -756,7 +756,7 @@ exit /b %rc%
|
||||
if %errorlevel%==0 (
|
||||
call :_color %Green% "IDM servers blocked successfully."
|
||||
echo Flushing DNS cache...
|
||||
ipconfig /flushdns >nul 2>&1
|
||||
ipconfig /flushdns >nul
|
||||
exit /b 0
|
||||
) else (
|
||||
call :_color %Red% "Failed to block IDM servers. Please check the script and permissions."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user