projects
/
gitmo/MooseX-Daemonize.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ee08a7f
)
fix a critic test
Chris Prather [Fri, 6 Jul 2007 04:06:26 +0000 (
04:06
+0000)]
lib/MooseX/Daemonize.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/Daemonize.pm
b/lib/MooseX/Daemonize.pm
index
5abe924
..
6bdcadc
100644
(file)
--- 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' );
<NULL> if (0);
-
+ ## use critic
+
$self->save_pid;
$self->setup_signals;
return $$;