fix: do not try to remove the container twice

This commit is contained in:
Jose Diaz-Gonzalez
2019-08-05 13:35:03 -04:00
parent 697afaa2cc
commit 86febeb7ca

View File

@@ -411,8 +411,6 @@ copy_from_image() {
if [[ "$(tail -c1 "$DST_FILE")" != "" ]]; then
echo "" >>"$DST_FILE"
fi
"$DOCKER_BIN" rm -f "$CID" &>/dev/null
else
return 1
fi