diff --git a/src/reset.sh b/src/reset.sh index c9cade7..20b1b46 100644 --- a/src/reset.sh +++ b/src/reset.sh @@ -31,8 +31,8 @@ PROCESS="${APP,,}" PROCESS="${PROCESS// /-}" if [ -f "/run/.containerenv" ]; then - ENGINE="${CONTAINER:-}" - if [[ "${ENGINE,,}" == "podman"* ]]; then + ENGINE="${container:-}" + if [[ "${ENGINE,,}" == *"podman"* ]]; then ROOTLESS="Y" ENGINE="Podman" else