summaryrefslogtreecommitdiff
path: root/tests/i18n.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/i18n.c')
-rw-r--r--tests/i18n.c4
1 files changed, 2 insertions, 2 deletions
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;
}