Commit bfff16ae authored by Alexandre's avatar Alexandre
Browse files

Print OK only with --check

parent fb7fd1ba
......@@ -1189,7 +1189,8 @@ for connectTo in ip_set:
input.close()
conn.end()
if ok:
print('OK')
if check:
print('OK')
sys.exit(0)
else:
print('KO')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment