git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
bb1b8e8
)
Changed to .append() as requested
author
Max G
<redacted>
Sat, 11 Jul 2020 10:37:08 +0000
(13:37 +0300)
committer
Max G
<redacted>
Sat, 11 Jul 2020 10:37:08 +0000
(13:37 +0300)
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index 34c7032adb140efe7a386f7298627150b47809d0..d743754334dcefa67e45205b0f15062b78790239 100644
(file)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-1316,7
+1316,7
@@
def flush_dns_cache():
print_failure(service_msg.format(result="failed"))
else:
print_success(service_msg.format(result="succeeded"))
- restarted_services
+= [service]
+ restarted_services
.append(service)
dns_clean_file = "/etc/init.d/dns-clean"
dns_clean_msg = "Flushing the DNS cache via dns-clean executable {result}"
git clone https://git.99rst.org/PROJECT