chiark / gitweb /
Include version string in background program logs
[disorder] / server / speaker.c
index 1d26c6c9c607733cc155466a6d50d7c4945b3a94..a1b2d1d5f28d485412f106cf0167e26b3bf35a9b 100644 (file)
@@ -820,6 +820,8 @@ int main(int argc, char **argv) {
     disorder_fatal(errno, "error binding socket to %s", addr.sun_path);
   xlisten(listenfd, 128);
   nonblock(listenfd);
+  disorder_info("version "VERSION" process ID %lu",
+                (unsigned long)getpid());
   disorder_info("listening on %s", addr.sun_path);
   memset(&sm, 0, sizeof sm);
   sm.type = SM_READY;