Skip to content
Commit 0b14af56 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

udev: Do not return a mysterious vector with just a null pointer

When getting the vector, it requires us to check both if it's not empty
but also that it's not null. I haven't seen it but we were not doing
this check.

Just return an empty vector when there's no devices instead.
parent 0e433cb8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment