try to fix EOF on standard input problems
[spider.git] / cmd / bye.pl
index d6e2d14becc76790295e429a02a093bb15653f54..653e939407a4067141f4da5bad97e11074af859a 100644 (file)
@@ -15,5 +15,8 @@ if ($self->is_user && -e "$main::data/logout") {
        sleep(1);
 }
 
-$self->state('bye');
+#$self->send_now('Z', "");
+
+$self->disconnect;
+
 return (1);