mirror of
https://github.com/mirror/make.git
synced 2025-01-04 01:10:26 +08:00
(child_error): Do nothing if IGNORED under -s.
This commit is contained in:
parent
9fd3c2453b
commit
ee14af651f
3
job.c
3
job.c
@ -175,6 +175,9 @@ child_error (target_name, exit_code, exit_sig, coredump, ignored)
|
|||||||
int exit_code, exit_sig, coredump;
|
int exit_code, exit_sig, coredump;
|
||||||
int ignored;
|
int ignored;
|
||||||
{
|
{
|
||||||
|
if (ignored && silent_flag)
|
||||||
|
return;
|
||||||
|
|
||||||
if (exit_sig == 0)
|
if (exit_sig == 0)
|
||||||
error (ignored ? "[%s] Error %d (ignored)" :
|
error (ignored ? "[%s] Error %d (ignored)" :
|
||||||
"*** [%s] Error %d",
|
"*** [%s] Error %d",
|
||||||
|
Loading…
Reference in New Issue
Block a user