diff options
-rw-r--r-- | tools/up-tool.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/up-tool.c b/tools/up-tool.c index a691744..d698c7c 100644 --- a/tools/up-tool.c +++ b/tools/up-tool.c @@ -331,6 +331,11 @@ main (int argc, char **argv) } if (opt_monitor || opt_monitor_detail) { + ret = up_client_enumerate_devices_sync (client, NULL, &error); + if (!ret) { + egg_warning ("failed to enumerate: %s", error->message); + goto out; + } if (!up_tool_do_monitor (client)) goto out; retval = EXIT_SUCCESS; |