From 3b32f5a1abbec9655a93a184ed0a3c5e6e5134fd Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 6 Apr 2024 11:37:04 -0300 Subject: Start "rc = -1" instead of 0 --- tests/i18n.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/i18n.c') diff --git a/tests/i18n.c b/tests/i18n.c index 60e4620..369a63d 100644 --- a/tests/i18n.c +++ b/tests/i18n.c @@ -8,16 +8,16 @@ int main(void) { - int rc = 0; + int rc = -1; if (getenv("DUMP_TRANSLATABLE_STRINGS")) { if (dump_translatable_strings(MSGS)) { logerr("dump_translatable_strings(MSGS)\n"); - rc = -1; goto out; } } + rc = 0; out: return !!rc; } -- cgit v1.2.3