From: Chris Prather Date: Fri, 6 Jul 2007 04:06:26 +0000 (+0000) Subject: fix a critic test X-Git-Tag: 0.01~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0585edbbcfa14d977c687191acc1dc51d1644fcb;p=gitmo%2FMooseX-Daemonize.git fix a critic test --- diff --git a/lib/MooseX/Daemonize.pm b/lib/MooseX/Daemonize.pm index 5abe924..6bdcadc 100644 --- a/lib/MooseX/Daemonize.pm +++ b/lib/MooseX/Daemonize.pm @@ -76,9 +76,11 @@ sub start { $self->daemonize unless $self->foreground; # Avoid 'stdin reopened for output' warning with newer perls + ## no critic open( NULL, '/dev/null' ); if (0); - + ## use critic + $self->save_pid; $self->setup_signals; return $$;