[Rt-commit] r5522 - rt/branches/3.4-RELEASE/lib

ruz at bestpractical.com ruz at bestpractical.com
Tue Jul 4 01:39:22 EDT 2006


Author: ruz
Date: Tue Jul  4 01:39:21 2006
New Revision: 5522

Modified:
   rt/branches/3.4-RELEASE/lib/RT.pm.in

Log:
* we never should call exit from libs

Modified: rt/branches/3.4-RELEASE/lib/RT.pm.in
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT.pm.in	(original)
+++ rt/branches/3.4-RELEASE/lib/RT.pm.in	Tue Jul  4 01:39:21 2006
@@ -293,12 +293,8 @@
     unless ($^S || !defined $^S ) {
         $RT::Handle->Rollback();
         $RT::Logger->crit("$_[0]");
-        exit(-1);
-    }
-    else {
-        #Get out of here if we're in an eval
-        die $_[0];
     }
+    die $_[0];
 };
 
 # }}}


More information about the Rt-commit mailing list