Capture KeyboardInterrupt in nntp-tiny-server

This commit is contained in:
XANTRONIX Development 2024-12-05 00:18:23 -05:00
parent bb42ef03b0
commit 3bbc5717d9

View file

@ -20,4 +20,7 @@ server = Server(config)
if args.daemon:
Daemon.init(config)
server.run()
try:
server.run()
except KeyboardInterrupt:
pass