projects
/
catagits/Catalyst-Devel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Devel: Don't change a manually-specified engine when using the -r switch
[catagits/Catalyst-Devel.git]
/
lib
/
Catalyst
/
Helper.pm
diff --git
a/lib/Catalyst/Helper.pm
b/lib/Catalyst/Helper.pm
index
50c4e2e
..
7c444cb
100644
(file)
--- a/
lib/Catalyst/Helper.pm
+++ b/
lib/Catalyst/Helper.pm
@@
-879,7
+879,7
@@
GetOptions(
pod2usage(1) if $help;
-if ( $restart ) {
+if ( $restart && $ENV{CATALYST_ENGINE} eq 'HTTP' ) {
$ENV{CATALYST_ENGINE} = 'HTTP::Restarter';
}
if ( $debug ) {