From 82e1ec69f48b02d7fa7899b213a3cbb10e7bde39 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Sat, 23 Dec 2023 14:07:13 +0100 Subject: [PATCH] Hopefully fix inspect 2 --- utils/podman | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/podman b/utils/podman index 2c25ffd..84b92a3 100644 --- a/utils/podman +++ b/utils/podman @@ -28,6 +28,7 @@ function inspectpod() { Network: $(getLocalConfValue $(getValueByKey 'PODMAN_DIRECTORY')/${1} network.name) Status: $([[ -n $(podman container ls | grep $(getLocalConfValue $(getValueByKey 'PODMAN_DIRECTORY')/${1} container.name)) ]] && echo -e ${GREEN}Running${RESET} || echo -e ${RED}Stopped${RESET}) Uptime: ${GREEN}$(podman container ls | grep ${1} | awk '{$1=$1};1' | cut -d' ' -f 7-8)${RESET}" +} ## # description: starts the defined podman container