I don't want to talk about it... :-/
authorfredrik@DOLDA2000.COM <fredrik@DOLDA2000.COM@959494ce-11ee-0310-bf91-de5d638817bd>
Fri, 4 Mar 2005 03:27:51 +0000 (03:27 +0000)
committerfredrik@DOLDA2000.COM <fredrik@DOLDA2000.COM@959494ce-11ee-0310-bf91-de5d638817bd>
Fri, 4 Mar 2005 03:27:51 +0000 (03:27 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@170 959494ce-11ee-0310-bf91-de5d638817bd

krb5-agent.c

index 2f23567..87e85b1 100644 (file)
@@ -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]);