Skip to content
Commit 2e339a71 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Zbigniew Jędrzejewski-Szmek
Browse files

sd-device: don't accept /sys as a device path

Because it's not a device path and (slightly) bad things happen if it
gets confused with one:

  $ udevadm info /sys/
  Assertion 'device->devpath[0] == '/'' failed at
      ../src/libsystemd/sd-device/sd-device.c:958,
      function sd_device_get_devpath(). Aborting.
  Aborted (core dumped)

(cherry picked from commit c4f885e7)
(cherry picked from commit 56825768)
(cherry picked from commit 8ab43b02)
parent 4fa4872a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment