Fixed exit code

Exit code 255 is reserved for php internal use-cases. Per spec exit code 1 is ment for general errors.
Merge pull request #28 from staabm/patch-3

Fixed exit code