udev: restore debug level when logging a failure in the external prog called by IMPORT{program}

It was already the case before commit a75211421f,
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.
This commit is contained in:
Franck Bui 2019-03-05 11:03:07 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 73622e02fb
commit 3c37dadf62

View file

@ -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)