diff --git a/src/main.c b/src/main.c index 107c2e8..4776fc7 100644 --- a/src/main.c +++ b/src/main.c @@ -678,8 +678,9 @@ store_opened( store_t *ctx, void *aux ) MVARS(aux) if (!ctx) { - mvars->state[t] = ST_CLOSED; mvars->ret = mvars->skip = 1; + mvars->state[t] = ST_CLOSED; + sync_chans( mvars, E_OPEN ); return; } mvars->ctx[t] = ctx;