Use exit-status macros for compatibility 1/3
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user