propellor spin

This commit is contained in:
Joey Hess 2014-04-04 15:21:42 -04:00
parent fd1b037d45
commit d902a4924b
Failed to extract signature
1 changed files with 1 additions and 4 deletions

View File

@ -236,10 +236,7 @@ runningContainer cid@(ContainerId hn cn) image containerprops = containerDesc ci
oldimage <- fromMaybe image <$> commitContainer cid
void $ removeContainer cid
go oldimage
else do
whenM (elem cid <$> listContainers AllContainers) $ do
void $ removeContainer cid
go image
else go image
where
ident = ContainerIdent image hn cn runps