[systemd-commits] src/udev
Kay Sievers
kay at kemper.freedesktop.org
Mon Nov 4 15:54:38 CET 2013
src/udev/udev-rules.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 5c11fbe3a75e8015f2c26736787d4279c091f091
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Nov 4 15:53:27 2013 +0100
udev: udevd - rules can be NULL when reloading
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
index e2ba0b0..320f004 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -1704,6 +1704,9 @@ struct udev_rules *udev_rules_unref(struct udev_rules *rules)
bool udev_rules_check_timestamp(struct udev_rules *rules)
{
+ if (!rules)
+ return false;
+
return paths_check_timestamp(rules->dirs, &rules->dirs_ts_usec, true);
}
More information about the systemd-commits
mailing list