From 83ee0bbd6d2108e2e416a1c3e8ab65d5db516ec3 Mon Sep 17 00:00:00 2001 From: Francesco Giudici Date: Thu, 14 Mar 2019 10:47:24 +0100 Subject: [PATCH] dbus-utils: don't return paths if they are in the process of being unexported --- src/nm-dbus-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nm-dbus-utils.c b/src/nm-dbus-utils.c index 8e7dd122d0..7b9c56b67a 100644 --- a/src/nm-dbus-utils.c +++ b/src/nm-dbus-utils.c @@ -154,7 +154,7 @@ nm_dbus_utils_g_value_set_object_path_from_hash (GValue *value, while (g_hash_table_iter_next (&iter, (gpointer *) &obj, NULL)) { const char *path; - path = nm_dbus_object_get_path (obj); + path = nm_dbus_object_get_path_still_exported (obj); if (!path) { nm_assert (!expect_all_exported); continue;