Unverified Commit a2ce43c1 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Check lower-case container variable (#967)

parent f5c6472b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -33,8 +33,8 @@ PROCESS="${APP,,}"
PROCESS="${PROCESS// /-}"

if [ -f "/run/.containerenv" ]; then
  ENGINE="${CONTAINER:-}"
  if [[ "${ENGINE,,}" == "podman"* ]]; then
  ENGINE="${container:-}"
  if [[ "${ENGINE,,}" == *"podman"* ]]; then
    PODMAN="Y"
    ROOTLESS="Y"
    ENGINE="Podman"