summaryrefslogtreecommitdiff
path: root/rt/sbin/standalone_httpd.in
diff options
context:
space:
mode:
Diffstat (limited to 'rt/sbin/standalone_httpd.in')
-rw-r--r--rt/sbin/standalone_httpd.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/sbin/standalone_httpd.in b/rt/sbin/standalone_httpd.in
index 45c3770..f84f6c1 100644
--- a/rt/sbin/standalone_httpd.in
+++ b/rt/sbin/standalone_httpd.in
@@ -172,7 +172,7 @@ if (caller) {
require Plack::Runner;
my $is_fastcgi = $0 =~ m/fcgi$/;
-my $r = Plack::Runner->new( $0 =~ 'standalone' ? ( server => 'Standalone' ) :
+my $r = Plack::Runner->new( $0 =~ /standalone/ ? ( server => 'Standalone' ) :
$is_fastcgi ? ( server => 'FCGI' )
: (),
env => 'deployment' );