diff options
author | Thomas White <taw@physics.org> | 2022-03-02 12:39:58 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-03-02 12:39:58 +0100 |
commit | b1d75cb3af16b6c864fb5ad5016b085790d1b6f8 (patch) | |
tree | 6d4a1dc6e7bdc224eb80737b51f0ea05093a8b44 /src | |
parent | 5ca91a38d9d7cef6de138669446a614f18cbc590 (diff) |
indexamajig: Return a specific error code (5) if no files could be processed
Diffstat (limited to 'src')
-rw-r--r-- | src/im-sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index 2a15a217..501efb45 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -1279,7 +1279,7 @@ int create_sandbox(struct index_args *iargs, int n_proc, char *prefix, free(sb->pids); try_status(sb, 1); - r = (sb->shared->n_processed == 0); + if ( sb->shared->n_processed == 0 ) r = 5; if ( sb->shared->should_shutdown ) r = 1; delete_temporary_folder(sb->tmpdir, n_proc); |