summaryrefslogtreecommitdiffstats
path: root/bus
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-05 00:37:17 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-05 00:37:17 +0000
commit03b9ca6d4ecf2577958530b8390d675c73a58825 (patch)
treebe0569a447ef9acaf5a0004fb9bfe1a2022c9eb1 /bus
parent45d1479fad0fb55f1775c394e696643dad3e8e4d (diff)
2003-04-04 Havoc Pennington <hp@redhat.com>
* dbus/dbus-spawn.c, dbus/dbus-spawn.h: Change dbus_spawn to return a "babysitter" object that is used to monitor the status of the spawned process and reap it when required. * test/test-segfault.c, test/test-exit.c, test/test-sleep-forever.c: binaries that do various lame things, used in the test suite. * dbus/dbus-sysdeps.c: kill _dbus_errno_to_string()
Diffstat (limited to 'bus')
-rw-r--r--bus/activation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bus/activation.c b/bus/activation.c
index ef5c1730..9ae44225 100644
--- a/bus/activation.c
+++ b/bus/activation.c
@@ -619,9 +619,9 @@ bus_activation_activate_service (BusActivation *activation,
argv[0] = entry->exec;
argv[1] = NULL;
- if (!_dbus_spawn_async (argv,
- child_setup, activation,
- error))
+ if (!_dbus_spawn_async_with_babysitter (NULL, argv,
+ child_setup, activation,
+ error))
{
_dbus_hash_table_remove_string (activation->pending_activations,
pending_activation->service_name);