[Rt-commit] rt branch, 4.0/issue-17503, created. rt-4.0.1rc1-5-gad27e2a
Emannuel Lacour
elacour at bestpractical.com
Fri May 27 09:51:02 EDT 2011
The branch, 4.0/issue-17503 has been created
at ad27e2af46acbd0fd4b1b124783047016c4421ee (commit)
- Log -----------------------------------------------------------------
commit ad27e2af46acbd0fd4b1b124783047016c4421ee
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date: Fri May 27 15:50:37 2011 +0200
Silent a potential undef warning
diff --git a/sbin/rt-setup-database.in b/sbin/rt-setup-database.in
index f7ef0a0..d3e3b95 100755
--- a/sbin/rt-setup-database.in
+++ b/sbin/rt-setup-database.in
@@ -105,7 +105,8 @@ RT->InitClasses();
# Force warnings to be output to STDERR if we're not already logging
# them at a higher level
RT->Config->Set( LogToScreen => 'warning')
- unless RT->Config->Get( 'LogToScreen' ) =~ /^(debug|info|notice)$/;
+ unless ( RT->Config->Get( 'LogToScreen' )
+ && RT->Config->Get( 'LogToScreen' ) =~ /^(debug|info|notice)$/ );
# get customized root password
my $root_password;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list