diff options
author | midipix <writeonce@midipix.org> | 2015-12-29 22:47:07 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-01 22:50:24 -0500 |
commit | fdf8e8a3b42c96bda07d3958378ff6736f90de79 (patch) | |
tree | bc2dd11ea5dad8e7f5eebdf9e411868e0d3fc9b1 | |
parent | fd0662520d453add386b48b4e0cc6cd6b566590c (diff) | |
download | apimagic-fdf8e8a3b42c96bda07d3958378ff6736f90de79.tar.bz2 apimagic-fdf8e8a3b42c96bda07d3958378ff6736f90de79.tar.xz |
utility: account for non-existing translation units (currently silent).
-rw-r--r-- | src/apimagic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apimagic.c b/src/apimagic.c index 4522e73..6c6408c 100644 --- a/src/apimagic.c +++ b/src/apimagic.c @@ -50,7 +50,8 @@ int apimagic_main(int argc, const char ** argv, const char ** envp) apimagic_perform_unit_actions(uctx); ret += uctx->nerrors; amgc_free_unit_ctx(uctx); - } + } else + ret++; } return apimagic_exit(dctx,ret); |