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"