Fix script

This commit is contained in:
Ben Sarmiento
2024-03-03 08:58:39 +01:00
parent 1fd2abc604
commit b9e7b815bd

View File

@@ -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"