[Pkg-voip-commits] r3207 - freepbx/trunk/debian/contrib

Diego Iastrubni elcuco-guest at alioth.debian.org
Wed Mar 7 14:43:08 CET 2007


Author: elcuco-guest
Date: 2007-03-07 13:43:08 +0000 (Wed, 07 Mar 2007)
New Revision: 3207

Modified:
   freepbx/trunk/debian/contrib/fpx-modules
Log:
added the fatal function. it seems i never checked this code, and i forgot to borrow more code from "install_amp"


Modified: freepbx/trunk/debian/contrib/fpx-modules
===================================================================
--- freepbx/trunk/debian/contrib/fpx-modules	2007-03-06 15:33:30 UTC (rev 3206)
+++ freepbx/trunk/debian/contrib/fpx-modules	2007-03-07 13:43:08 UTC (rev 3207)
@@ -96,6 +96,11 @@
 		print( "$s\n" );
 }
 
+function fatal($text) {
+        echo "[FATAL] ".$text."\n";
+        exit(1);
+}
+
 function debug( $s)
 {
 	global $debug;




More information about the Pkg-voip-commits mailing list