]> granicus.if.org Git - sudo/commit
Use parent process group id instead of parent process id when checking
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 8 Mar 2010 19:27:30 +0000 (14:27 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 8 Mar 2010 19:27:30 +0000 (14:27 -0500)
commit7d06308236d18622bdbc6429f3dfa5216f3f7dd7
treef220ef811275f1df8877239f358fcac85639aceb
parent731a6e850e38046690e6194cc5800b92ea8d1083
Use parent process group id instead of parent process id when checking
foreground status and suspending parent.  Fixes an issue when running
commands under /usr/bin/time and others.

--HG--
branch : 1.7
script.c