mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 07:48:36 +00:00
udev: properly detect reference to unexisting part of PROGRAM's result
(cherry picked from commit 66390abefa)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
950be0cb76
commit
e97bfdb851
@@ -254,6 +254,8 @@ subst:
|
||||
cpos++;
|
||||
while (isspace(cpos[0]))
|
||||
cpos++;
|
||||
if (cpos[0] == '\0')
|
||||
break;
|
||||
}
|
||||
if (i > 0) {
|
||||
log_error("requested part of result string not found");
|
||||
|
||||
Reference in New Issue
Block a user