diff options
| author | Jonathan Chen <jon@FreeBSD.org> | 2001-08-03 00:23:37 +0000 |
|---|---|---|
| committer | Jonathan Chen <jon@FreeBSD.org> | 2001-08-03 00:23:37 +0000 |
| commit | 685233abc5deec44fbf9b69d76a2f2283d1f8bb0 (patch) | |
| tree | 77526c72c9027448e52466556fe5dcc53d4568d0 /libexec | |
| parent | 5635f2a580472052792ba8a105a1ef9d0e550b8f (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rpc.rstatd/rstat_proc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rpc.rstatd/rstat_proc.c b/libexec/rpc.rstatd/rstat_proc.c index 7f6bd554f063..10143267f66b 100644 --- a/libexec/rpc.rstatd/rstat_proc.c +++ b/libexec/rpc.rstatd/rstat_proc.c @@ -115,6 +115,7 @@ stat_init() { stat_is_init = 1; setup(); + alarm(0); updatestat(); (void) signal(SIGALRM, updatestat); alarm(1); @@ -203,6 +204,7 @@ updatestat() #ifdef DEBUG fprintf(stderr, "about to closedown\n"); #endif + kvm_close(kd); if (from_inetd) exit(0); else { |
