summaryrefslogtreecommitdiff
path: root/rt/sbin/standalone_httpd
diff options
context:
space:
mode:
Diffstat (limited to 'rt/sbin/standalone_httpd')
-rwxr-xr-xrt/sbin/standalone_httpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/sbin/standalone_httpd b/rt/sbin/standalone_httpd
index 3386cd1fe..cef0f3102 100755
--- a/rt/sbin/standalone_httpd
+++ b/rt/sbin/standalone_httpd
@@ -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' );