diff options
author | Francesco Giudici <fgiudici@redhat.com> | 2019-03-14 10:47:24 +0100 |
---|---|---|
committer | Francesco Giudici <fgiudici@redhat.com> | 2019-03-22 16:14:12 +0100 |
commit | 83ee0bbd6d2108e2e416a1c3e8ab65d5db516ec3 (patch) | |
tree | 2f3d846d3a694487b4620458e86a9bb971a879dc /src/nm-dbus-utils.c | |
parent | f15e6342366370f0b6ea099450ed41eaf49b23ff (diff) | |
download | NetworkManager-83ee0bbd6d2108e2e416a1c3e8ab65d5db516ec3.tar.gz |
dbus-utils: don't return paths if they are in the process of being unexported
Diffstat (limited to 'src/nm-dbus-utils.c')
-rw-r--r-- | src/nm-dbus-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |