From 1e920988f9670b44a7405a86ae746647ff2e0add Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 5 Jul 2026 18:04:39 +0300 Subject: [PATCH] Return an explicit False from move_hosts_file_into_place Unsupported platforms fell off the end and returned None. --- updateHostsFile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/updateHostsFile.py b/updateHostsFile.py index cb716b079..2376bf89a 100755 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -1452,6 +1452,8 @@ def move_hosts_file_into_place(finalfile): print_failure(f"Replacing {target_file} failed.") return False + return False + def flush_dns_cache(): """