diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-06-27 17:29:11 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-06-27 17:29:11 +0000 |
commit | 07abfe209276f22ce0bdb9ecf021f951a2eb5269 (patch) | |
tree | 1ec41ec99a12b63fd4c45791f340829b146ba504 /shell | |
parent | 0d8cc1670cdb6c4acdad1e2fcd92cb378873355b (diff) |
don't whine if all we need to do is remove a bg job
Diffstat (limited to 'shell')
-rw-r--r-- | shell/lash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/lash.c b/shell/lash.c index e4ca5f67b..7c932a910 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -319,8 +319,9 @@ static int builtin_fg_bg(struct child_prog *child) if ( (i=kill(- job->pgrp, SIGCONT)) < 0) { if (i == ESRCH) { remove_job(&job_list, job); + } else { + perror_msg("kill (SIGCONT)"); } - perror_msg("kill (SIGCONT)"); } return EXIT_SUCCESS; |