mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix resolvconf check
This commit is contained in:
parent
bfe3f415ca
commit
92d9d49a05
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class IPDiagnoser(Diagnoser):
|
|||
# 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"
|
||||
return len(content) == 1 and content.split() == ["nameserver", "127.0.0.1"]
|
||||
return len(content) == 1 and content[0].split() == ["nameserver", "127.0.0.1"]
|
||||
|
||||
def get_public_ip(self, protocol=4):
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue