about summary refs log tree commit diff
path: root/Src/jobs.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/jobs.c')
-rw-r--r--Src/jobs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/jobs.c b/Src/jobs.c
index 5edeecde6..666d90966 100644
--- a/Src/jobs.c
+++ b/Src/jobs.c
@@ -1380,11 +1380,11 @@ spawnjob(void)
 	} else if (prevjob == -1 || !(jobtab[prevjob].stat & STAT_STOPPED))
 	    prevjob = thisjob;
 	if (interact && jobbing && jobtab[thisjob].procs) {
-	    fprintf(stderr, "[%d]", thisjob);
+	    fprintf(shout, "[%d]", thisjob);
 	    for (pn = jobtab[thisjob].procs; pn; pn = pn->next)
-		fprintf(stderr, " %ld", (long) pn->pid);
-	    fprintf(stderr, "\n");
-	    fflush(stderr);
+		fprintf(shout, " %ld", (long) pn->pid);
+	    fprintf(shout, "\n");
+	    fflush(shout);
 	}
     }
     if (!hasprocs(thisjob))