diff --git a/Incremental.c b/Incremental.c index 87d9114..33c0d7f 100644 --- a/Incremental.c +++ b/Incremental.c @@ -1354,7 +1354,7 @@ restart: if (st && st->ss->load_container) ret = st->ss->load_container(st, mdfd, NULL); close(mdfd); - if (!ret && st->ss->container_content) { + if (!ret && st && st->ss->container_content) { if (map_lock(&map)) pr_err("failed to get exclusive lock on mapfile\n"); ret = Incremental_container(st, me->path, c, only);