Skip to content

Commit

Permalink
Fix : /etc/cont-init.d/93-openvpn.sh: line 89: syntax error in expres…
Browse files Browse the repository at this point in the history
…sion

#562
#1049
  • Loading branch information
alexbelgium authored Oct 30, 2023
1 parent fcb6c83 commit 466c920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ if bashio::config.true 'openvpn_enabled'; then

# Define preferences line
cd /config/addons_config/qBittorrent/ || exit 1
LINE=$(sed -n '/Preferences/=' "$QBT_CONFIG_FILE")
LINE=$(sed -n '/\[Preferences\]/=' "$QBT_CONFIG_FILE")
LINE=$((LINE + 1))
SESSION=$(sed -n '/BitTorrent/=' "$QBT_CONFIG_FILE")
SESSION=$(sed -n '/\[BitTorrent\]/=' "$QBT_CONFIG_FILE")

# If qBittorrent.conf exists
if [ -f "$QBT_CONFIG_FILE" ]; then
Expand Down

0 comments on commit 466c920

Please sign in to comment.