aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-07-29 21:47:57 -0700
committerThomas White <taw@bitwiz.org.uk>2012-07-29 21:47:57 -0700
commit028e85fdbcce831bb7fd25021c5c41bd17a7c0ce (patch)
treeabe0c22055f4507550bf186ab3dc181e399c7fdc /src
parent0f2ebab64db6e9ab5ca0fdc803c3ea64b003b0e6 (diff)
indexamajig: Count a pattern as 'processed' if the worker process crashed
Diffstat (limited to 'src')
-rw-r--r--src/im-sandbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index 97dd3dfe..fdbbf3a3 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -657,6 +657,7 @@ static void handle_zombie(struct sandbox *sb)
i, WTERMSIG(status));
STATUS("Last filename was: %s\n",
sb->last_filename[i]);
+ sb->n_processed++;
start_worker_process(sb, i);
}