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) | |
| download | busybox-w32-07abfe209276f22ce0bdb9ecf021f951a2eb5269.tar.gz busybox-w32-07abfe209276f22ce0bdb9ecf021f951a2eb5269.tar.bz2 busybox-w32-07abfe209276f22ce0bdb9ecf021f951a2eb5269.zip | |
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) | |||
| 319 | if ( (i=kill(- job->pgrp, SIGCONT)) < 0) { | 319 | if ( (i=kill(- job->pgrp, SIGCONT)) < 0) { |
| 320 | if (i == ESRCH) { | 320 | if (i == ESRCH) { |
| 321 | remove_job(&job_list, job); | 321 | remove_job(&job_list, job); |
| 322 | } else { | ||
| 323 | perror_msg("kill (SIGCONT)"); | ||
| 322 | } | 324 | } |
| 323 | perror_msg("kill (SIGCONT)"); | ||
| 324 | } | 325 | } |
| 325 | 326 | ||
| 326 | return EXIT_SUCCESS; | 327 | return EXIT_SUCCESS; |
