From 0446e1eae135ff7b14a848c805bc813f30d21138 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Fri, 1 Mar 2024 13:55:47 +0100 Subject: [PATCH] wip --- utils/pull | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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