Changed echo to fwrite and added some spaces at the end

This commit is contained in:
2013-04-15 01:10:28 +02:00
parent 1087892282
commit ed556962f2

View File

@@ -56,7 +56,7 @@ function print_version()
{
global $argv, $argc;
global $VERSION;
echo "$argv[0] $VERSION\n";
fwrite(STDOUT, "$argv[0] $VERSION\n");
}
function print_help()
@@ -196,6 +196,8 @@ else // Fail as unknown, something went haywire
// Catch all and fail with unknown state
exit($STATE_UNKNOWN);
?>