diff --git a/qbittorrent/rootfs/etc/cont-init.d/91-configuration.sh b/qbittorrent/rootfs/etc/cont-init.d/91-configuration.sh index d63e29db5..628b29052 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/91-configuration.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/91-configuration.sh @@ -13,8 +13,8 @@ LINE=$((LINE + 1)) # Default folder # ################## -if bashio::config.has_value 'download-folder'; then - DOWNLOADS=$(bashio::config 'download-folder') +if bashio::config.has_value 'SavePath'; then + DOWNLOADS=$(bashio::config 'SavePath') sed -i '/SavePath/d' qBittorrent.conf sed -i "$LINE i\Downloads\\\SavePath=$DOWNLOADS" qBittorrent.conf mkdir -p $DOWNLOADS || true