mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-22 05:32:42 +07:00
udev: hwdb - exit if no database is available
This commit is contained in:
parent
f17491e27d
commit
3b0a5f2023
@ -277,6 +277,9 @@ static int builtin_hwdb(struct udev_device *dev, int argc, char *argv[], bool te
|
||||
};
|
||||
const char *subsys = NULL;
|
||||
|
||||
if (!trie.f)
|
||||
return EXIT_SUCCESS;
|
||||
|
||||
for (;;) {
|
||||
int option;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user