summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-08-07 20:37:15 +0000
committerRoland McGrath <roland@redhat.com>1995-08-07 20:37:15 +0000
commitee14af651f1105076fcbff39e62ae1002ad1c1ce (patch)
tree7cc6ab374b6a03beb4a3d3e2e9dd9961e4ea676f /job.c
parent9fd3c2453bea58967741fc5247e57ea1e75290e8 (diff)
downloadgunmake-ee14af651f1105076fcbff39e62ae1002ad1c1ce.tar.gz
(child_error): Do nothing if IGNORED under -s.
Diffstat (limited to 'job.c')
-rw-r--r--job.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/job.c b/job.c
index daefc5c..c27f2a4 100644
--- a/job.c
+++ b/job.c
@@ -175,6 +175,9 @@ child_error (target_name, exit_code, exit_sig, coredump, ignored)
int exit_code, exit_sig, coredump;
int ignored;
{
+ if (ignored && silent_flag)
+ return;
+
if (exit_sig == 0)
error (ignored ? "[%s] Error %d (ignored)" :
"*** [%s] Error %d",