From 69420ae2c587c75cfb915330d4f60f866281345b Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Thu, 28 Sep 2017 15:33:50 -0400 Subject: Use standard exit codes. Use EXIT_ defines for readibility. There were some exit codes > 1, but they don't seem to be checked by any of the parent process code. This does mean that the logs might have changed, but modern logging techniques have probably made this obsolete. https://bugzilla.gnome.org/show_bug.cgi?id=788307 --- tests/m-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/m-common.c b/tests/m-common.c index 62f1f44a..0c533d04 100644 --- a/tests/m-common.c +++ b/tests/m-common.c @@ -54,7 +54,7 @@ main (int argc, char **argv) if (error != NULL) { g_warning ("%s", error->message); g_error_free (error); - exit (1); + exit (EXIT_FAILURE); } r = srunner_create (suite_common_address ()); -- cgit v1.2.1