mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Uhoh typo
This commit is contained in:
parent
b443caf63a
commit
d16dab1c44
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class IPDiagnoser(Diagnoser):
|
|||
return os.system("dig +short ip.yunohost.org >/dev/null 2>/dev/null") == 0
|
||||
|
||||
def good_resolvconf(self):
|
||||
content = read_file(file_).strip().split("\n")
|
||||
content = read_file("/etc/resolv.conf").strip().split("\n")
|
||||
# Ignore comments and empty lines
|
||||
content = [l.strip() for l in content if l.strip() and not l.strip().startswith("#")]
|
||||
# We should only find a "nameserver 127.0.0.1"
|
||||
|
|
Loading…
Add table
Reference in a new issue