Update reset.sh

This commit is contained in:
Kroese 2025-11-06 03:35:06 +01:00 committed by GitHub
parent ac600d07e9
commit af5cd10e3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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