[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-875-gbeca857
Chia-liang Kao
clkao at bestpractical.com
Tue Dec 14 10:58:45 EST 2010
The branch, 3.9-trunk has been updated
via beca85780ca8bab6fd8d4df19b9f9cdb87ef7e8b (commit)
from 56126ca2be2cd6886bb4fb64354d37d5f4489089 (commit)
Summary of changes:
sbin/rt-server.in | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit beca85780ca8bab6fd8d4df19b9f9cdb87ef7e8b
Author: Chia-liang Kao <clkao at bestpractical.com>
Date: Tue Dec 14 23:56:59 2010 +0800
fix install mode.
diff --git a/sbin/rt-server.in b/sbin/rt-server.in
index b6c82db..c34a985 100755
--- a/sbin/rt-server.in
+++ b/sbin/rt-server.in
@@ -129,8 +129,10 @@ EOF
}
# we must disconnect DB before fork
-$RT::Handle->dbh(undef);
-undef $RT::Handle;
+if ($RT::Handle) {
+ $RT::Handle->dbh(undef);
+ undef $RT::Handle;
+}
require RT::Interface::Web::Handler;
my $app = RT::Interface::Web::Handler->PSGIApp;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list