diff --git a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh index 24efe99eb..d33c05570 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh @@ -41,7 +41,7 @@ if bashio::config.has_value 'SavePath'; then # Replace save path CURRENTSAVEPATH=$(sed -n '/Downloads\\SavePath/p' qBittorrent.conf) sed -i "s|${CURRENTSAVEPATH#*=}|$DOWNLOADS|g" qBittorrent.conf || \ - sed -i "${LINE}a Downloads\\SavePath\\=$DOWNLOADS" qBittorrent.conf + sed -i "${LINE}a Downloads\SavePath=$DOWNLOADS" qBittorrent.conf # Replace session save path CURRENTSAVEPATH=$(sed -n '/Session\\DefaultSavePath/p' qBittorrent.conf)