summaryrefslogtreecommitdiffstats
path: root/proxy/src/gssproxy.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-03-22 09:05:06 -0400
committerSimo Sorce <simo@redhat.com>2013-03-22 11:34:42 -0400
commit1955a2d57d6d6ff3d4aa6dcdbc890d9c44417f7f (patch)
tree87a56d0ebb1e1e733a20528541fb8937ef31ccf3 /proxy/src/gssproxy.c
parente9623f5f05053f215c71dbf37d034ae98f1f1c36 (diff)
downloadgss-proxy-1955a2d57d6d6ff3d4aa6dcdbc890d9c44417f7f.tar.gz
gss-proxy-1955a2d57d6d6ff3d4aa6dcdbc890d9c44417f7f.tar.xz
gss-proxy-1955a2d57d6d6ff3d4aa6dcdbc890d9c44417f7f.zip
Write pid file at startup.
Diffstat (limited to 'proxy/src/gssproxy.c')
-rw-r--r--proxy/src/gssproxy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proxy/src/gssproxy.c b/proxy/src/gssproxy.c
index f1f0d13..4dd0094 100644
--- a/proxy/src/gssproxy.c
+++ b/proxy/src/gssproxy.c
@@ -106,6 +106,8 @@ int main(int argc, const char *argv[])
/* special call to tell the Linux kernel gss-proxy is available */
init_proc_nfsd(gpctx->config);
+ write_pid();
+
vctx = init_event_loop();
if (!vctx) {
return 1;