teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0386-run-drop-mistakenly-committed-test-code.patch

cb2855
From 5fa9c2729f673aca07741506a5e490b58534ded8 Mon Sep 17 00:00:00 2001
cb2855
From: Lennart Poettering <lennart@poettering.net>
cb2855
Date: Fri, 31 Jan 2014 18:03:15 +0100
cb2855
Subject: [PATCH] run: drop mistakenly committed test code
cb2855
cb2855
Conflicts:
cb2855
	src/run/run.c
cb2855
cb2855
Resolves: #1220272
cb2855
---
cb2855
 src/run/run.c | 8 --------
cb2855
 1 file changed, 8 deletions(-)
cb2855
cb2855
diff --git a/src/run/run.c b/src/run/run.c
cb2855
index 93e3f88..a6abead 100644
cb2855
--- a/src/run/run.c
cb2855
+++ b/src/run/run.c
cb2855
@@ -315,14 +315,6 @@ static int start_transient_scope(
cb2855
         if (r < 0)
cb2855
                 return r;
cb2855
 
cb2855
-        {
cb2855
-                const char *unique_id;
cb2855
-                sd_bus_get_unique_name(bus, &unique_id);
cb2855
-                r = sd_bus_message_append(m, "(sv)", "Controller", "s", unique_id);
cb2855
-                if (r < 0)
cb2855
-                        return r;
cb2855
-        }
cb2855
-
cb2855
         r = sd_bus_message_append(m, "(sv)", "PIDs", "au", 1, (uint32_t) getpid());
cb2855
         if (r < 0)
cb2855
                 return r;