projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. I believe I have fixed all the login/logout 'broken pipe' errors
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index 1743af851f59375d2d401f0dfbca70c6e32edb53..ca6a1c4e989cbc264c4b72cf698a6197bf7a6c93 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-306,13
+306,14
@@
sub process
sub finish
{
my $self = shift;
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
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 = <I>;
close(I);
open(I, "$main::data/logout") or confess;
my @in = <I>;
close(I);