fix: resolve zapret2 fuzzer daemon startup, premature self-update completion, and component visibility cache

This commit is contained in:
Dushnilin
2026-09-16 19:54:36 +03:00
parent 304a95de0a
commit 5eeaa91864
15 changed files with 5232 additions and 5141 deletions
+12 -4
View File
@@ -390,10 +390,18 @@ function split_leading_assignments(command) {
while (true) {
let matched = match(rest, /^([A-Za-z_][A-Za-z0-9_]*=[^ \t]*)[ \t]+/);
if (!matched)
break;
assignments += matched[1] + " ";
rest = substr(rest, length(matched[0]));
if (matched) {
assignments += matched[1] + " ";
rest = substr(rest, length(matched[0]));
continue;
}
let cd_match = match(rest, /^(cd[ \t]+[^&;]+[ \t]*&&[ \t]*)/);
if (cd_match) {
assignments += cd_match[1];
rest = substr(rest, length(cd_match[0]));
continue;
}
break;
}
return { assignments, command: rest };