From 17fe7583009e4f12d8f67ee95fd33e120da5a865 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 10 May 2026 17:44:01 +0200 Subject: [PATCH] Fix set -u usage in qbittorrent run script --- qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run b/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run index e76642f58..25ec5ca35 100644 --- a/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run +++ b/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run @@ -1,8 +1,6 @@ #!/usr/bin/with-contenv bashio # shellcheck shell=bash -set +u - WEBUI_PORT=${WEBUI_PORT:-8080} export PATH="/usr/local/sbin:/usr/local/bin:${PATH}" @@ -67,6 +65,7 @@ if bashio::config.true 'silent'; then exec >/dev/null 2>&1 fi +set +u if [[ -z ${LSIO_NON_ROOT_USER} ]]; then exec s6-setuidgid abc "${QB_BIN}" --webui-port="${WEBUI_PORT}" else