Use the current pgrp, not pid, when resetting the foreground process group.
authorMatt Kraai <kraai@debian.org>
Wed, 2 May 2001 15:37:09 +0000 (15:37 -0000)
committerMatt Kraai <kraai@debian.org>
Wed, 2 May 2001 15:37:09 +0000 (15:37 -0000)
commit1c8a59ab95d4b1a91506c69fb211fe1077e0c755
treea6cdca169a5a095e9a2d1d1a8ffc3bcf2117c187
parentf162e7d09d4023bb8c7e15d80105f46da4b92437
Use the current pgrp, not pid, when resetting the foreground process group.
Fixes bizarre suspension when executing `echo`.
hush.c
shell/hush.c