]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- include server pid in debug reply 699/head
authorArvin Schnell <aschnell@suse.de>
Tue, 22 Mar 2022 08:50:09 +0000 (09:50 +0100)
committerArvin Schnell <aschnell@suse.de>
Tue, 22 Mar 2022 08:50:09 +0000 (09:50 +0100)
server/Client.cc

index 1e2ff183a342180a9998481253855b6cbf448d0c..1fe24f141d4ab1578e394971e23f8ac982115962 100644 (file)
@@ -1638,6 +1638,13 @@ Client::debug(DBus::Connection& conn, DBus::Message& msg) const
 
     hoho.open_array("s");
 
+    hoho << "server:";
+    {
+       std::ostringstream s;
+       s << "    pid:" << getpid();
+       hoho << s.str();
+    }
+
     hoho << "clients:";
     for (Clients::const_iterator it = clients.begin(); it != clients.end(); ++it)
     {