mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 23:38:39 +00:00
udev: properly detect reference to unexisting part of PROGRAM's result
(cherry picked from commit66390abefa) (cherry picked from commite97bfdb851)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
95e7995207
commit
7f102a597c
@@ -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\n");
|
||||
|
||||
Reference in New Issue
Block a user