Skip to content
Snippets Groups Projects
Commit 64073d5c authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

Address GitLab issue #190: ntp.packet.ControlException in ntpsweep

parent 6cc3708d
No related branches found
No related tags found
No related merge requests found
......@@ -171,8 +171,11 @@ Host st offset(s) version system processor
known_host_peers = {}
trace = []
for host in hostlist:
scan_host(host, 0)
try:
scan_host(host, 0)
except ntp.packet.ControlException as e:
sys.stderr.write(e.message + "\n")
sys.exit(1)
sys.exit(0)
# end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment