mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
the -W flag doesn't exist for ping6
This commit is contained in:
parent
d216d06c8c
commit
6d7e77b360
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class MyDiagnoser(Diagnoser):
|
|||
def ping(protocol, target):
|
||||
return (
|
||||
os.system(
|
||||
"ping%s -c1 -W 3 %s >/dev/null 2>/dev/null"
|
||||
"ping%s -c1 %s >/dev/null 2>/dev/null"
|
||||
% ("" if protocol == 4 else "6", target)
|
||||
)
|
||||
== 0
|
||||
|
|
Loading…
Add table
Reference in a new issue