Files
systemd/src/shared
Yu Watanabe acfc2a1d15 sd-device: ignore error in device_cache_sysattr_value() and propagate original error code
There are three calls of device_cache_sysattr_value(). Two of them are
just caching the value. Hence, let's ignore its failure, and propagate
original error code.

One exception is the last call in sd_device_get_sysattr_value().
Unfortunately, it returns `const char *` instead of `char *`. So,
sd_device object must have the reference of the returned value.
Hence, error in updating the cache by device_cache_sysattr_value()
is critical, and we need to propagate the error in that case.
2021-02-21 04:40:17 +09:00
..
2021-02-17 15:31:29 +09:00
2021-02-17 15:31:29 +09:00
2020-12-10 13:03:11 +01:00
2020-11-18 17:23:00 +09:00
2020-12-10 13:03:11 +01:00
2020-12-10 13:03:11 +01:00
2021-02-19 07:56:22 +01:00
2021-02-07 17:02:56 +01:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00