diff --git a/podman-peerjs/10_install.sh b/podman-peerjs/10_install.sh index f558dc5..51ec8a5 100755 --- a/podman-peerjs/10_install.sh +++ b/podman-peerjs/10_install.sh @@ -9,7 +9,7 @@ ensure_not_root ensure_container_not_exists ${container_name} -if podman image exists ${upstream_images}:${version}; then +if ! podman image exists ${upstream_images}:${version}; then podman image pull ${upstream_images}:${version} || exit 1 fi podman run --name ${container_name} --user nobody -p ${listen_if}:${listen_port}:9000 -d ${upstream_images}:${version} &&