[Solar-svn] Revision 3267

pmjones at solarphp.com pmjones at solarphp.com
Sun Jul 27 11:39:52 CDT 2008


solar binary: [FIX] Force integer exit codes.


Modified: trunk/bin/solar
===================================================================
--- trunk/bin/solar	2008-07-27 16:38:29 UTC (rev 3266)
+++ trunk/bin/solar	2008-07-27 16:39:52 UTC (rev 3267)
@@ -199,7 +199,7 @@
     
     // print the error message and exit
     echo $e->getMessage() . PHP_EOL;
-    exit($exit);
+    exit((int) $exit);
     
 } catch (Exception $e) {
     
@@ -222,6 +222,6 @@
     
     // print the error message and exit
     echo $e . PHP_EOL;
-    exit($exit);
+    exit((int) $exit);
     
 }




More information about the Solar-svn mailing list