Make irkerd announce itself at startup when debugging is enabled.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 4 Oct 2012 09:55:51 +0000 (05:55 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 4 Oct 2012 09:55:51 +0000 (05:55 -0400)
irkerd

diff --git a/irkerd b/irkerd
index ee8f27a08d7e1be215ae39b3d8cf8ac435de907c..b6043da2429c4938f5e94faa8e7b8523e622eafb 100755 (executable)
--- a/irkerd
+++ b/irkerd
@@ -464,6 +464,7 @@ if __name__ == '__main__':
             sys.stdout.write("irkerd version %s\n" % version)
             sys.exit(0)
     irker = Irker(debuglevel=debuglvl)
+    irker.debug(1, "irkerd version %s" % version)
     tcpserver = SocketServer.TCPServer((HOST, PORT), IrkerTCPHandler)
     udpserver = SocketServer.UDPServer((HOST, PORT), IrkerUDPHandler)
     for server in [tcpserver, udpserver]: