X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=ca6a1c4e989cbc264c4b72cf698a6197bf7a6c93;hb=502f900651a46b96008028945616a3b610d6cc7a;hp=1743af851f59375d2d401f0dfbca70c6e32edb53;hpb=1f3035508fe4dacf899742db444ade501091e7de;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 1743af85..ca6a1c4e 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -306,13 +306,14 @@ sub process sub finish { my $self = shift; + my $conn = shift; my $call = $self->call; # I was the last node visited $self->user->node($main::mycall); # log out text - if (-e "$main::data/logout") { + if ($conn && -e "$main::data/logout") { open(I, "$main::data/logout") or confess; my @in = ; close(I);