mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
udev: properly detect reference to unexisting part of PROGRAM's result
This commit is contained in:
parent
93570bd7ed
commit
66390abefa
Notes:
Zbigniew Jędrzejewski-Szmek
2014-04-07 10:48:58 -04:00
Backport: bugfix
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user