core: tighten when we unset the sysfs path of device units
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Jun 2018 16:09:27 +0000 (18:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 7 Jun 2018 13:29:17 +0000 (15:29 +0200)
commit244f80554940a6a08b6aafea033b5547eae74db4
treecb31ac595d9ee9e7813d425e817963382e2bd446
parent66f3fdbb073d8263b34bd65982a7e59d09086b23
core: tighten when we unset the sysfs path of device units

Make sure that whenever we enter "dead" state we unset the sysfs path,
not just when we are changing to it due to "found" mask changes.
src/core/device.c