diff --git a/qbt-set-forwarded-port.sh b/qbt-set-forwarded-port.sh index 9af75d5..fc370e5 100644 --- a/qbt-set-forwarded-port.sh +++ b/qbt-set-forwarded-port.sh @@ -9,7 +9,7 @@ set -e qbt_username="${QBT_USERNAME:-admin}" qbt_password="${QBT_PASSWORD:-adminadmin}" qbt_addr="${QBT_ADDR:-http://localhost:8085}" # ex. http://10.0.1.48:8080 -gluetun_container="${GLUETUN_COMTAINER:-'qbt-gluetun'}" +gluetun_container="${GLUETUN_COMTAINER:-qbt-gluetun}" port_number=$(docker exec "$gluetun_container" cat /tmp/gluetun/forwarded_port)