summaryrefslogtreecommitdiff
path: root/bus/test.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-02-02 02:25:11 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-02-10 10:07:24 +0000
commita8423067ceac1af6176e14fbc334fe5b82431e3d (patch)
tree8dc820e73a095d0b41965c83e1f8bb3ff993359d /bus/test.c
parentdd4038156dd7946118f58b763985cdd4c5726bea (diff)
downloaddbus-a8423067ceac1af6176e14fbc334fe5b82431e3d.tar.gz
bus: introduce --nopidfile switch to disable writing of PID files
When used with init systems such as systemd (where PID files are redundant) this allows us to disable PID files even if a path is configured for them in the normal bus configuration files. Make use of this new switch in the systemd unit file. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45520 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'bus/test.c')
-rw-r--r--bus/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/test.c b/bus/test.c
index 9a0c1967..19caa02d 100644
--- a/bus/test.c
+++ b/bus/test.c
@@ -292,7 +292,7 @@ bus_context_new_test (const DBusString *test_data_dir,
}
dbus_error_init (&error);
- context = bus_context_new (&config_file, FALSE, NULL, NULL, NULL, FALSE, &error);
+ context = bus_context_new (&config_file, FALSE, NULL, NULL, NULL, FALSE, FALSE, &error);
if (context == NULL)
{
_DBUS_ASSERT_ERROR_IS_SET (&error);