Close DBM when restarting
authorJamie Cameron <jcameron@webmin.com>
Tue, 27 May 2008 20:03:09 +0000 (20:03 +0000)
committerJamie Cameron <jcameron@webmin.com>
Tue, 27 May 2008 20:03:09 +0000 (20:03 +0000)
miniserv.pl

index 5bfb3b9..1d13c61 100755 (executable)
@@ -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);