[Solar-svn] Revision 3266
pmjones at solarphp.com
pmjones at solarphp.com
Sun Jul 27 11:38:30 CDT 2008
solar binary: [FIX] Only use positive exit codes.
Modified: trunk/bin/solar
===================================================================
--- trunk/bin/solar 2008-07-27 16:37:41 UTC (rev 3265)
+++ trunk/bin/solar 2008-07-27 16:38:29 UTC (rev 3266)
@@ -84,7 +84,7 @@
// if there was an --include-path but no param, that's a failure
if ($found && ! $include) {
echo "Please specify an include-path after the --include-path option." . PHP_EOL;
- exit(-1);
+ exit(1);
}
set_include_path($include);
@@ -135,7 +135,7 @@
// if there was a --config but no param, that's a failure
if ($found && ! $config) {
echo "Please specify a config file path after the --config option." . PHP_EOL;
- exit(-1);
+ exit(1);
}
// was there a config file at all?
@@ -191,7 +191,7 @@
// disallow empty or zero exit codes
if (! $exit) {
- $exit = -1;
+ $exit = 1;
}
// stop Solar
@@ -214,7 +214,7 @@
// disallow empty or zero exit codes
if (! $exit) {
- $exit = -1;
+ $exit = 1;
}
// stop Solar
More information about the Solar-svn
mailing list