summaryrefslogtreecommitdiffstats
path: root/bus/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/bus.c')
-rw-r--r--bus/bus.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bus/bus.c b/bus/bus.c
index c732280d..c66b7b36 100644
--- a/bus/bus.c
+++ b/bus/bus.c
@@ -282,17 +282,14 @@ process_config_first_time_only (BusContext *context,
{
DBusString u;
DBusStat stbuf;
- DBusError tmp_error;
- dbus_error_init (&tmp_error);
_dbus_string_init_const (&u, pidfile);
- if (_dbus_stat (&u, &stbuf, &tmp_error))
+ if (_dbus_stat (&u, &stbuf, NULL))
{
dbus_set_error (error, DBUS_ERROR_FAILED,
"The pid file \"%s\" exists, if the message bus is not running, remove this file",
pidfile);
- dbus_error_free (&tmp_error);
goto failed;
}
}