mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-24 23:50:03 +01:00
This avoids spewing dozens of assertions like libupower-glib-CRITICAL **: up_client_get_devices: assertion 'UP_IS_CLIENT (client)' failed libupower-glib-CRITICAL **: up_device_get_object_path: assertion 'UP_IS_DEVICE (device)' failed and useless default values and then exiting successfully (which might confuse users or scripts trying to parse the output). Use the new up_client_new_full() constructor so that we get a proper GError. Side issue in https://bugs.freedesktop.org/show_bug.cgi?id=95350 |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| up-tool.c | ||