mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-10-05 14:21:03 +01:00
Return an explicit False from move_hosts_file_into_place
Unsupported platforms fell off the end and returned None.
This commit is contained in:
@@ -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():
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user