From: fredrik@DOLDA2000.COM Date: Fri, 4 Mar 2005 03:27:51 +0000 (+0000) Subject: I don't want to talk about it... :-/ X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=1df7c6ce9c99d242e7fccda7277d545a1a22b062;p=utils.git I don't want to talk about it... :-/ git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@170 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/krb5-agent.c b/krb5-agent.c index 2f23567..87e85b1 100644 --- a/krb5-agent.c +++ b/krb5-agent.c @@ -212,7 +212,7 @@ int main(int argc, char **argv) } if(child == 0) { char buf[80]; - snprintf(buf, 80, "KRB5_AGENT_PID=%i", getpid()); + snprintf(buf, 80, "KRB5_AGENT_PID=%i", getppid()); putenv(buf); execvp(argv[optind], argv + optind); perror(argv[optind]);