Fix non-root user check in qbittorrent run script

This commit is contained in:
Alexandre
2026-05-10 17:43:22 +02:00
committed by GitHub
parent e5ddc59f65
commit 58c7ff1c4d

View File

@@ -67,7 +67,7 @@ if bashio::config.true 'silent'; then
exec >/dev/null 2>&1
fi
if [[ -z ${LSIO_NON_ROOT_USER:-} ]]; then
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec s6-setuidgid abc "${QB_BIN}" --webui-port="${WEBUI_PORT}"
else
exec "${QB_BIN}" --webui-port="${WEBUI_PORT}"