fix: do not try to remove the container twice
This commit is contained in:
@@ -411,8 +411,6 @@ copy_from_image() {
|
|||||||
if [[ "$(tail -c1 "$DST_FILE")" != "" ]]; then
|
if [[ "$(tail -c1 "$DST_FILE")" != "" ]]; then
|
||||||
echo "" >>"$DST_FILE"
|
echo "" >>"$DST_FILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"$DOCKER_BIN" rm -f "$CID" &>/dev/null
|
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user