udev: support ENV{}=="" global property matches

This commit is contained in:
Kay Sievers
2014-11-13 20:35:06 +01:00
parent 41b848b0ea
commit adeba5008e
6 changed files with 55 additions and 15 deletions
+8 -2
View File
@@ -149,8 +149,14 @@ int main(int argc, char *argv[]) {
}
}
udev_event_execute_rules(event, 3 * USEC_PER_SEC, USEC_PER_SEC, rules, &sigmask_orig);
udev_event_execute_run(event, 3 * USEC_PER_SEC, USEC_PER_SEC, NULL);
udev_event_execute_rules(event,
3 * USEC_PER_SEC, USEC_PER_SEC,
NULL,
rules,
&sigmask_orig);
udev_event_execute_run(event,
3 * USEC_PER_SEC, USEC_PER_SEC,
NULL);
out:
if (event != NULL && event->fd_signal >= 0)
close(event->fd_signal);