mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 12:18:13 +02:00
* bus/activation.c (bus_activation_new): don't fail if we can not read
the directory as it may not exist
This commit is contained in:
parent
a157ec7f72
commit
b6f91340c3
2 changed files with 13 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2006-11-02 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
* bus/activation.c (bus_activation_new): don't fail if we can not read
|
||||
the directory as it may not exist
|
||||
|
||||
2006-11-02 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
* bus/config-parser.c (service_dirs_find_dir): use
|
||||
|
|
|
|||
|
|
@ -736,9 +736,15 @@ bus_activation_new (BusContext *context,
|
|||
goto failed;
|
||||
}
|
||||
|
||||
/* only fail on OOM, it is ok if we can't read the directory */
|
||||
if (!update_directory (activation, s_dir, error))
|
||||
goto failed;
|
||||
|
||||
{
|
||||
if (dbus_error_has_name (error, DBUS_ERROR_NO_MEMORY))
|
||||
goto failed;
|
||||
else
|
||||
dbus_error_free (error);
|
||||
}
|
||||
|
||||
link = _dbus_list_get_next_link (directories, link);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue