svn commit: trunk/busybox/shell

vapier at busybox.net vapier at busybox.net
Fri May 5 18:38:13 UTC 2006


Author: vapier
Date: 2006-05-05 11:38:07 -0700 (Fri, 05 May 2006)
New Revision: 15011

Log:
fix Bug 659 as reported by Robin Getz

Modified:
   trunk/busybox/shell/msh.c


Changeset:
Modified: trunk/busybox/shell/msh.c
===================================================================
--- trunk/busybox/shell/msh.c	2006-05-05 18:20:42 UTC (rev 15010)
+++ trunk/busybox/shell/msh.c	2006-05-05 18:38:07 UTC (rev 15011)
@@ -3026,6 +3026,10 @@
 	if (resetsig) {
 		signal(SIGINT, SIG_DFL);
 		signal(SIGQUIT, SIG_DFL);
+	} else {
+		/* put non-interactive processes into a different process group.
+		 * we don't support jobs, but this is at least sane: see Bug 659 */
+		setpgrp();
 	}
 
 	if (t->type == TPAREN)




More information about the busybox-cvs mailing list