diff --git a/menu/pgscan/pgscan.sh b/menu/pgscan/pgscan.sh index 735bc8a6..6ecdde9a 100644 --- a/menu/pgscan/pgscan.sh +++ b/menu/pgscan/pgscan.sh @@ -23,7 +23,6 @@ userstatus() { else ustatus="⚠️ NOT DEPLOYED"; fi } tokenstatus() { -touch $ptokendep ptokendep=$(cat /var/plexguide/pgscan/plex.token) if [ "$ptokendep" != "" ]; then PGSELFTEST=$(curl -LI "http://localhost:32400/system?X-Plex-Token=$(cat /opt/plex_autoscan/config/config.json | jq .PLEX_TOKEN | sed 's/"//g')" -o /dev/null -w '%{http_code}\n' -s)