From 1df7c6ce9c99d242e7fccda7277d545a1a22b062 Mon Sep 17 00:00:00 2001 From: "fredrik@DOLDA2000.COM" Date: Fri, 4 Mar 2005 03:27:51 +0000 Subject: [PATCH] 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 --- krb5-agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.11.0