diff options
author | Thomas White <taw@physics.org> | 2014-12-10 18:23:32 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-12-10 18:23:32 +0100 |
commit | 6da4191cde2a089888f07cd75db251bb0b8ea887 (patch) | |
tree | efe59f6132ba3c85ba8fe8f1f376a51b7bf16f07 | |
parent | 08258e0a8f2cdc1e1f005e11fa5295784cff22ec (diff) |
Do not send the next filename if suspend/release occurs
-rw-r--r-- | src/im-sandbox.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index 7b810da5..3f6d7c86 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -1107,12 +1107,14 @@ void create_sandbox(struct index_args *iargs, int n_proc, char *prefix, if ( strcmp(results, "SUSPEND") == 0 ) { sb->suspend_stats++; + continue; /* Do not send next filename */ } else if ( strcmp(results, "RELEASE") == 0 ) { if ( sb->suspend_stats > 0 ) { sb->suspend_stats--; } else { ERROR("RELEASE before SUSPEND.\n"); } + continue; /* Do not send next filename */ } else { strtol(results, &eptr, 10); |