summaryrefslogtreecommitdiffstats
path: root/bus/activation.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/activation.c')
-rw-r--r--bus/activation.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/bus/activation.c b/bus/activation.c
index 8f9d653f..19b4d66a 100644
--- a/bus/activation.c
+++ b/bus/activation.c
@@ -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);
}