[systemd-commits] src/udev
Kay Sievers
kay at kemper.freedesktop.org
Thu Oct 25 13:23:11 PDT 2012
src/udev/udev-builtin-hwdb.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 3b0a5f2023cee149d2713327c04fc8103136bd91
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Oct 25 22:22:29 2012 +0200
udev: hwdb - exit if no database is available
diff --git a/src/udev/udev-builtin-hwdb.c b/src/udev/udev-builtin-hwdb.c
index 0746698..1458795 100644
--- a/src/udev/udev-builtin-hwdb.c
+++ b/src/udev/udev-builtin-hwdb.c
@@ -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;
More information about the systemd-commits
mailing list