diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-27 17:29:11 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-27 17:29:11 +0000 |
commit | 228b01d1020dba311741a7d18f89398264fd5420 (patch) | |
tree | 1ec41ec99a12b63fd4c45791f340829b146ba504 /shell | |
parent | 66bcf7ef41bfc50976f30736401e681bbe23d75d (diff) | |
download | busybox-w32-228b01d1020dba311741a7d18f89398264fd5420.tar.gz busybox-w32-228b01d1020dba311741a7d18f89398264fd5420.tar.bz2 busybox-w32-228b01d1020dba311741a7d18f89398264fd5420.zip |
don't whine if all we need to do is remove a bg job
git-svn-id: svn://busybox.net/trunk/busybox@2919 69ca8d6d-28ef-0310-b511-8ec308f3f277
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; |