diff --git a/utils/pull b/utils/pull index 149879f..c78a218 100644 --- a/utils/pull +++ b/utils/pull @@ -29,7 +29,7 @@ function pullpod() { fi for serviceIP in $(getLocalConfValue "$(getValueByKey 'PODMAN_DIRECTORY')/${1}" 'container.serviceIPs[]'); do if [[ -z $(echo "$section" | grep "$serviceIP") ]]; then - sed "/^$(echo "$section" | tail -n1)/i\ \ \ \ \ \ - $serviceIP" "$(getValueByKey 'PODMAN_DIRECTORY')/${1}/docker-compose.yml" + sed -i "/^$(echo "$section" | tail -n1)/i\ \ \ \ \ \ - $serviceIP" "$(getValueByKey 'PODMAN_DIRECTORY')/${1}/docker-compose.yml" fi done fi