Blob Blame Raw
--- old/src/cmd/ksh93/sh/xec.c	Wed Jun  1 18:03:07 2011
+++ old/src/cmd/ksh93/sh/xec.c.orig	Tue Jun  7 16:20:47 2011
@@ -2963,7 +2963,7 @@
 #else
 		myjob = job_post(shp,parent,postid);
 #endif /* SHOPT_BGX */
-		if(job.waitall && (flags&FPOU))
+		if(job.waitall && (flags&FPOU) && !sh_isoption(SH_MONITOR))
 		{
 			job.curjobid = myjob+1;
 			if(job.exitval)