Explicitly call setsid()
diff --git a/shell/hush.c b/shell/hush.c
index f70074f..34dc277 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2555,6 +2555,7 @@
 	signal(SIGCHLD, sigchld_handler);
 
 	/* Put ourselves in our own process group.  */
+	setsid();
 	shell_pgrp = getpid ();
 	setpgid (shell_pgrp, shell_pgrp);