Use exit-status macros for compatibility 1/3

This commit is contained in:
Robin Gareus 2019-07-04 22:21:14 +02:00
parent bd8897686a
commit dbc0c54ced
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
6 changed files with 22 additions and 23 deletions

View file

@ -52,7 +52,7 @@ foreach (json_decode ($json, true) as $b) {
if (count ($doc) == 0) {
fwrite (STDERR, "Failed to read luadoc.json\n");
exit (1);
exit (EXIT_FAILURE);
}
################################################################################