Skip to content

Commit

Permalink
Update pgscan.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Nov 21, 2019
1 parent 3188a04 commit 1839dc8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion menu/pgscan/pgscan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1839dc8

Please sign in to comment.