K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-10-18T12:35:12.253095Z K 7 svn:log V 275 sh: Remove one syscall when waiting for a foreground job. The getpgrp() call is unnecessary: if there is no job control then the result was not used at all and if there is job control then we are not a subshell and our process group ID is equal to our process ID (rootpid). END