diff options
author | Franck Bui <fbui@suse.com> | 2019-03-05 11:03:07 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-03-05 13:53:25 +0100 |
commit | 3c37dadf627677eef62fcfc0c0f07cc67c748a9e (patch) | |
tree | 23602db513b69ad9e39b75ff0ab8ae55d0510c3b /src/udev/udev-rules.c | |
parent | 73622e02fb9aa92b21fafc700409d7800112b609 (diff) | |
download | systemd-3c37dadf627677eef62fcfc0c0f07cc67c748a9e.tar.gz systemd-3c37dadf627677eef62fcfc0c0f07cc67c748a9e.tar.bz2 systemd-3c37dadf627677eef62fcfc0c0f07cc67c748a9e.zip |
udev: restore debug level when logging a failure in the external prog called by IMPORT{program}
It was already the case before commit a75211421fc9366068e6d9446e8e567246c72feb,
which upgraded the log to warning.
This seems an unintended side effect as the commit message doesn't mention it
and the old behavior looks more appropriate.
Diffstat (limited to 'src/udev/udev-rules.c')
-rw-r--r-- | src/udev/udev-rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index 0fb515e134..d4aeca2fd3 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -602,7 +602,7 @@ static int import_program_into_properties(UdevEvent *event, char *line; int r; - r = udev_event_spawn(event, timeout_usec, false, program, result, sizeof result); + r = udev_event_spawn(event, timeout_usec, true, program, result, sizeof result); if (r < 0) return r; if (r > 0) |