[Rt-commit] r7195 - rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT

ruz at bestpractical.com ruz at bestpractical.com
Wed Mar 7 21:02:13 EST 2007


Author: ruz
Date: Wed Mar  7 21:02:12 2007
New Revision: 7195

Modified:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm

Log:
* never call exit in modules

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Handle.pm	Wed Mar  7 21:02:12 2007
@@ -219,7 +219,7 @@
 WARNING: This will erase all data in $db_name.
 
 END
-        exit unless _yesno();
+        return unless _yesno();
 
     }
 


More information about the Rt-commit mailing list