]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/socket.c
core: add "invocation ID" concept to service manager
[thirdparty/systemd.git] / src / core / socket.c
index b9032fa5c96ef01efd2e3980177b7b36f5016cf0..ae8a1f751f890aadfe2f47cfc64b5c4030ff52e8 100644 (file)
@@ -2354,11 +2354,14 @@ static int socket_start(Unit *u) {
                 return r;
         }
 
+        r = unit_acquire_invocation_id(u);
+        if (r < 0)
+                return r;
+
         s->result = SOCKET_SUCCESS;
         s->reset_cpu_usage = true;
 
         socket_enter_start_pre(s);
-
         return 1;
 }