aboutsummaryrefslogtreecommitdiff
path: root/src/proj.c
diff options
context:
space:
mode:
authorMicah Cochran <micahcochran@users.noreply.github.com>2016-06-10 11:39:01 -0500
committerMicah Cochran <micahcochran@users.noreply.github.com>2016-06-10 11:39:01 -0500
commit81bc93bc597a5642146df9100abc40b93b76975b (patch)
treed5e7d253efc3ce06385ea08dbd26df90869ee4b2 /src/proj.c
parent933eaf7d86fea02b2cb9c0c5728ac3c82c6657a0 (diff)
downloadPROJ-81bc93bc597a5642146df9100abc40b93b76975b.tar.gz
PROJ-81bc93bc597a5642146df9100abc40b93b76975b.zip
Make proj -VC selftest return exit code of number of test failures.
Diffstat (limited to 'src/proj.c')
-rw-r--r--src/proj.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/proj.c b/src/proj.c
index 00853994..e4524677 100644
--- a/src/proj.c
+++ b/src/proj.c
@@ -268,8 +268,7 @@ int main(int argc, char **argv) {
bin_in = bin_out = 1;
continue;
case 'C': /* Check - run internal regression tests */
- pj_run_selftests (very_verby);
- return 0;
+ return pj_run_selftests (very_verby);
continue;
case 'v': /* monitor dump of initialization */
mon = 1;