File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
root/etc/s6-overlay/s6-rc.d/svc-mod-gluetun-sync-port Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,7 @@ init_checks(){
66
66
if { [ -z "${QBT_USERNAME}" ] || [ -z "${QBT_PASSWORD}" ] ;} && [ "$(grep 'LocalHostAuth' ${conf_file} | awk -F'=' '{print $2}')" != "false" ]; then
67
67
err='true'
68
68
log "${MSG_prefix} The \"Bypass authentication for clients on localhost\" setting is not set."
69
- elif [ -n "${QBT_USERNAME}" ] && [ -n "${QBT_PASSWORD}" ] && [ "$(qbt_login; curl --write-out '%{http_code}' \
70
- --silent --output /dev/null \
71
- ${QBT_COOKIES} \
72
- --url "${QBITTORRENT}/api/v2/app/version")" -ne 200 ]; then
69
+ elif [ -n "${QBT_USERNAME}" ] && [ -n "${QBT_PASSWORD}" ] && [ "$(qbt_login)" != "Ok." ]; then
73
70
err='true'
74
71
log "${MSG_prefix} Qbittorrent authentication failed, check the credentials."
75
72
fi
You can’t perform that action at this time.
0 commit comments