From dbc0c54ced49c24fbfbb88b0ccf02f8bc0cc78e1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 4 Jul 2019 22:21:14 +0200 Subject: Use exit-status macros for compatibility 1/3 --- tools/fmt-luadoc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/fmt-luadoc.php b/tools/fmt-luadoc.php index b13e38617c..79c0a791bc 100755 --- a/tools/fmt-luadoc.php +++ b/tools/fmt-luadoc.php @@ -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); } ################################################################################ -- cgit v1.2.3