add set/var and show/var - two rather insecure commands!
[spider.git] / cmd / connect.pl
index 14f94bb3e4a93c31924091dc7b4b500dac28ff6f..d4a11d2ab7b03fb8c3eb15dc8ac8c71b9cccbcce 100644 (file)
@@ -22,6 +22,7 @@ if (defined $pid) {
                eval "{ package DB; sub DB {} }";
                alarm(0);
                DXChannel::closeall();
+               Msg::close_server();
                $SIG{CHLD} = $SIG{TERM} = $SIG{INT} = $SIG{__WARN__} = 'DEFAULT';
                exec $prog, $call, 'connect';
        } else {