fixed server start
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Script / FastCGI.pm
index 033cf06..289ad63 100644 (file)
@@ -25,7 +25,7 @@ sub run {
     pod2usage() if $self->help;
     my $app = $self->app;
     Class::MOP::load_class($app);
-    $app->new(
+    $app->run(
         $self->listen,
         {  
             nproc   => $self->nproc,