summaryrefslogtreecommitdiff
path: root/src/test/test-namespace.c
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2016-03-14 09:42:07 +0000
committerColin Guthrie <colin@mageia.org>2016-03-14 09:43:03 +0000
commit5e1558f4a09e596561c9168384f2258e7c0718a1 (patch)
tree845cf59070d390d7eff75faf723cf79f411dd83f /src/test/test-namespace.c
parented0b16e2792e2e7cd6591da053ef5f737736a98d (diff)
device: Ensure we have sysfs path before comparing.
In some cases we do not have a udev device when setting up a unit (certainly the code gracefully handles this). However, we do then go on to compare the path via path_equal which will assert if a null value is passed in. See https://bugs.mageia.org/show_bug.cgi?id=17766 Not sure if this is the correct fix, but it avoids the crash
Diffstat (limited to 'src/test/test-namespace.c')
0 files changed, 0 insertions, 0 deletions