From d74c7565bde0a0c9d3b55a422d809c0794c06b2b Mon Sep 17 00:00:00 2001 From: Job79 Date: Sun, 22 Dec 2024 15:02:19 +0100 Subject: [PATCH] fix: hide podman pull errors --- enter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enter.sh b/enter.sh index e9e04ee..3d7e596 100755 --- a/enter.sh +++ b/enter.sh @@ -59,7 +59,7 @@ done if [ "$fetch" = true ] || [ "$(podman container inspect "$name" -f {{.State.Running}} 2>&1)" != 'true' ]; then log "fetching devcontainer updates..." - if [ "$(podman pull -q "$image")" != "$(podman container inspect "$name" -f {{.Image}} 2>&1)" ]; then + if [ "$(podman pull -q "$image" 2>&1)" != "$(podman container inspect "$name" -f {{.Image}} 2>&1)" ]; then log "container image downloaded" '✓' 32 podman container rm -f -t 1 "$name" 1>/dev/null podman run -td $(run_args) "$image"