mirror of
https://github.com/systemd/systemd.git
synced 2026-08-07 16:41:02 +00:00
udev: hwdb - exit if no database is available
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user