richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
Blob Blame History Raw
From 5fa9c2729f673aca07741506a5e490b58534ded8 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Fri, 31 Jan 2014 18:03:15 +0100
Subject: [PATCH] run: drop mistakenly committed test code

Conflicts:
	src/run/run.c

Resolves: #1220272
---
 src/run/run.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/run/run.c b/src/run/run.c
index 93e3f88..a6abead 100644
--- a/src/run/run.c
+++ b/src/run/run.c
@@ -315,14 +315,6 @@ static int start_transient_scope(
         if (r < 0)
                 return r;
 
-        {
-                const char *unique_id;
-                sd_bus_get_unique_name(bus, &unique_id);
-                r = sd_bus_message_append(m, "(sv)", "Controller", "s", unique_id);
-                if (r < 0)
-                        return r;
-        }
-
         r = sd_bus_message_append(m, "(sv)", "PIDs", "au", 1, (uint32_t) getpid());
         if (r < 0)
                 return r;