mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-19 12: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
|
||||
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}"
|
||||
|
||||
Reference in New Issue
Block a user