projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
dbf0387
)
Added warning, restart doesn't work together with fork
Sebastian Riedel [Thu, 10 Nov 2005 16:56:41 +0000 (16:56 +0000)]
lib/Catalyst/Engine/HTTP/Restarter.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Engine/HTTP/Restarter.pm
b/lib/Catalyst/Engine/HTTP/Restarter.pm
index
cfe0e9a
..
0c73ebd
100644
(file)
--- a/
lib/Catalyst/Engine/HTTP/Restarter.pm
+++ b/
lib/Catalyst/Engine/HTTP/Restarter.pm
@@
-11,6
+11,9
@@
sub run {
$options ||= {};
+ die "Sorry, but 'restart' doesn't work together with 'fork'.\n"
+ if $options->{fork};
+
# Setup restarter
my $restarter;
my $parent = $$;