diff options
-rw-r--r-- | src/udev/udev-rules.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index e2ba0b0cc8..320f004dc3 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); } |