projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd66045
)
Close DBM when restarting
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 27 May 2008 20:03:09 +0000
(20:03 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 27 May 2008 20:03:09 +0000
(20:03 +0000)
miniserv.pl
patch
|
blob
|
history
diff --git
a/miniserv.pl
b/miniserv.pl
index
5bfb3b9
..
1d13c61
100755
(executable)
--- a/
miniserv.pl
+++ b/
miniserv.pl
@@
-2488,6
+2488,7
@@
print STDERR "restarting miniserv\n";
close(SOCK);
&close_all_sockets();
&close_all_pipes();
+dbmclose(%sessiondb);
kill('KILL', $logclearer) if ($logclearer);
kill('KILL', $extauth) if ($extauth);
exec($perl_path, $miniserv_path, @miniserv_argv);