diff options
Diffstat (limited to 'src/chunk.c')
-rw-r--r-- | src/chunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.c b/src/chunk.c index 82b0ebd1..3903428a 100644 --- a/src/chunk.c +++ b/src/chunk.c @@ -269,7 +269,7 @@ chunk *chunkqueue_get_append_tempfile(chunkqueue *cq) { c->type = FILE_CHUNK; c->offset = 0; - if (cq->tempdirs) { + if (cq->tempdirs && cq->tempdirs->used) { size_t i; /* we have several tempdirs, only if all of them fail we jump out */ |