summaryrefslogtreecommitdiff
path: root/Assemble.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-09-13 10:51:20 +1000
committerNeilBrown <neilb@suse.de>2013-09-13 10:51:20 +1000
commitd5a4041647d2b3328ce45ff727afe37477f07c75 (patch)
treee7336c6408b3631cf00cee4e010f96dacf2e9814 /Assemble.c
parenta8b25633544db9fb03bc3b12442aafbbae9c1e1c (diff)
Make -IRs and --run work properly for containers.
We really need to make sure assemble_container_content() gets called to finished the assembly of these. Reported-by: Francis Moreau <francis.moro@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Assemble.c')
-rw-r--r--Assemble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assemble.c b/Assemble.c
index bc85603d..86b4c894 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -1817,7 +1817,7 @@ int assemble_container_content(struct supertype *st, int mdfd,
working++;
} else if (errno == EEXIST)
preexist++;
- if (working + expansion == 0)
+ if (working + expansion == 0 && c->runstop <= 0)
return 1;/* Nothing new, don't try to start */
map_update(&map, fd2devnm(mdfd),