diff options
author | Kay Sievers <kay@vrfy.org> | 2015-06-14 20:19:54 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2015-06-14 20:19:54 +0200 |
commit | 15daf6a834563fe5afc3143aaf41bd9a4adc24ed (patch) | |
tree | b35cd45320829a07f1c8455aec4694ce2c92e1f5 /src/udev/udev-rules.c | |
parent | 7258e9704f49f29dd6ef19657cbecc3ebbdeae01 (diff) | |
parent | 53318514cce4c129c9e8c97a5fba8ddbd09f1bb5 (diff) |
Merge pull request #144 from teg/udev-spawn-log-less-2
udevd: event - don't log about failures of spawn processes when this …
Diffstat (limited to 'src/udev/udev-rules.c')
-rw-r--r-- | src/udev/udev-rules.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index 7be9a2311a..8ebc061eb1 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -641,7 +641,7 @@ static int import_program_into_properties(struct udev_event *event, int err; envp = udev_device_get_properties_envp(dev); - err = udev_event_spawn(event, timeout_usec, timeout_warn_usec, program, envp, result, sizeof(result)); + err = udev_event_spawn(event, timeout_usec, timeout_warn_usec, true, program, envp, result, sizeof(result)); if (err < 0) return err; @@ -2131,7 +2131,7 @@ int udev_rules_apply_to_event(struct udev_rules *rules, rules_str(rules, rule->rule.filename_off), rule->rule.filename_line); - if (udev_event_spawn(event, timeout_usec, timeout_warn_usec, program, envp, result, sizeof(result)) < 0) { + if (udev_event_spawn(event, timeout_usec, timeout_warn_usec, true, program, envp, result, sizeof(result)) < 0) { if (cur->key.op != OP_NOMATCH) goto nomatch; } else { |