diff options
author | Thomas White <taw@physics.org> | 2019-10-16 16:42:29 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-10-17 10:03:41 +0200 |
commit | 96861c596671a185b1e2fc24c60d6fbdf6ee865d (patch) | |
tree | 66240f9978d094603bb7849df3d0a2857eecc2cf /src/indexamajig.c | |
parent | bff069f97ad705b44e0432f93597a874d19baa8a (diff) |
indexamajig: Shut down gracefully after failed image load
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index aa316caf..d52eb3cf 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -1073,9 +1073,5 @@ int main(int argc, char *argv[]) close_stream(st); cleanup_indexing(args.iargs.ipriv); - if ( r ) { - return 0; - } else { - return 1; /* No patterns processed */ - } + return r; } |