fix output

This commit is contained in:
2023-09-20 01:05:24 +02:00
parent 6ba6dc8f74
commit c6031f458f

View File

@@ -143,11 +143,12 @@ def main():
if end:
break
states = []
for host in hosts:
if host.is_alive():
break
states.append(not host.is_alive())
if all(states):
end = True
break
time.sleep(0.1)