fix: Log DNS flush failures

This commit is contained in:
Emp1500 2025-10-25 13:00:00 +05:30
parent bddb165e81
commit fcc26ed5f1

View File

@ -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."