Fix script
This commit is contained in:
@@ -14,6 +14,7 @@ section_ids=$(curl -sLX GET "$plex_url/library/sections" -H "X-Plex-Token: $toke
|
||||
|
||||
if [ -z "$section_ids" ]; then
|
||||
echo "Error: missing sections; the token seems to be broken"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Plex section IDs: $section_ids"
|
||||
|
||||
Reference in New Issue
Block a user