diff options
author | Tom Gundersen <teg@jklm.no> | 2015-06-10 15:20:02 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-06-10 17:55:53 +0200 |
commit | 53318514cce4c129c9e8c97a5fba8ddbd09f1bb5 (patch) | |
tree | 2d77f0e863a9ce954396df538d7b30f4f36cde35 /src/udev/udev.h | |
parent | aa0d0ed6b87d41367fd6c4401472df7d45dd1b13 (diff) |
udevd: event - don't log about failures of spawn processes when this is expected
PROGRAM and IMPORT{program} uses the exit code of the spawn process to decide if a rule matches or not,
a failing process is hence normal operation and not something we should warn about.
We still warn about other types of failing processes.
Diffstat (limited to 'src/udev/udev.h')
-rw-r--r-- | src/udev/udev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/udev.h b/src/udev/udev.h index fd8504c424..4d22f2377e 100644 --- a/src/udev/udev.h +++ b/src/udev/udev.h @@ -84,6 +84,7 @@ int udev_event_apply_subsys_kernel(struct udev_event *event, const char *string, int udev_event_spawn(struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, + bool accept_failure, const char *cmd, char **envp, char *result, size_t ressize); void udev_event_execute_rules(struct udev_event *event, |