mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-21 13:30:32 +02:00
Fix non-root user check in qbittorrent run script
This commit is contained in:
@@ -67,7 +67,7 @@ if bashio::config.true 'silent'; then
|
|||||||
exec >/dev/null 2>&1
|
exec >/dev/null 2>&1
|
||||||
fi
|
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}"
|
exec s6-setuidgid abc "${QB_BIN}" --webui-port="${WEBUI_PORT}"
|
||||||
else
|
else
|
||||||
exec "${QB_BIN}" --webui-port="${WEBUI_PORT}"
|
exec "${QB_BIN}" --webui-port="${WEBUI_PORT}"
|
||||||
|
|||||||
Reference in New Issue
Block a user