cmd: preserve package attribution for tool failures
This commit is contained in:
@@ -2459,7 +2459,12 @@ fn buildonesepimpl(selfdir: *u8, src: *u8, entryisdir: i32,
|
|||||||
&& result.code == 127) {
|
&& result.code == 127) {
|
||||||
cerr("ww: execve failed\n");
|
cerr("ww: execve failed\n");
|
||||||
};
|
};
|
||||||
cerr("ww: w6c failed\n");
|
if (g.pkg[pi].path[0u64] != 0u8) {
|
||||||
|
cerrpath("ww: w6c failed for ",
|
||||||
|
g.pkg[pi].path, "\n");
|
||||||
|
} else {
|
||||||
|
cerr("ww: w6c failed for (root)\n");
|
||||||
|
};
|
||||||
g.pkg[pi].failed = true;
|
g.pkg[pi].failed = true;
|
||||||
anyfailed = true;
|
anyfailed = true;
|
||||||
oi += 1;
|
oi += 1;
|
||||||
@@ -2481,7 +2486,12 @@ fn buildonesepimpl(selfdir: *u8, src: *u8, entryisdir: i32,
|
|||||||
&& result.code == 127) {
|
&& result.code == 127) {
|
||||||
cerr("ww: execve failed\n");
|
cerr("ww: execve failed\n");
|
||||||
};
|
};
|
||||||
cerr("ww: w6a failed\n");
|
if (g.pkg[pi].path[0u64] != 0u8) {
|
||||||
|
cerrpath("ww: w6a failed for ",
|
||||||
|
g.pkg[pi].path, "\n");
|
||||||
|
} else {
|
||||||
|
cerr("ww: w6a failed for (root)\n");
|
||||||
|
};
|
||||||
g.pkg[pi].failed = true;
|
g.pkg[pi].failed = true;
|
||||||
anyfailed = true;
|
anyfailed = true;
|
||||||
oi += 1;
|
oi += 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user