removed signal handling, cause it was not very useful, and then made WithPidFile...
[gitmo/MooseX-Daemonize.git] / lib / Test / MooseX / Daemonize.pm
index a9c880f..8488621 100644 (file)
@@ -27,7 +27,7 @@ our $Test = Test::Builder->new;
 
 sub daemonize_ok {
     my ( $daemon, $msg ) = @_;
-    unless ( my $pid = Proc::Daemon::Fork ) {
+    unless ( my $pid = fork ) {
         $daemon->start();
         exit;
     }