mirror of https://github.com/pwndbg/pwndbg.git
Make setup.sh work with Podman
Containers created with Podman (https://podman.io/) don't have a .dockerenv file in the root directory, so setup.sh tries to invoke sudo. This doesn't work because podman containers can't use sudo (the processes inside the container run as an unprivileged user). This removes the check for .dockerenv. The other checks should already be sufficient to detect that it's running in a container without sudo.pull/942/head
parent
72ca4d8fc0
commit
45dd669a23
Loading…
Reference in new issue