From 228b01d1020dba311741a7d18f89398264fd5420 Mon Sep 17 00:00:00 2001 From: andersen Date: Wed, 27 Jun 2001 17:29:11 +0000 Subject: 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 --- shell/lash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell') 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; -- cgit v1.2.3-55-g6feb