Warn users if fetching Plex token fails in installer

This commit is contained in:
Alex Malinovich 2017-02-26 17:58:06 -08:00
commit 3266b7667b

View file

@ -159,8 +159,9 @@ configure_plexupdate() {
if getPlexServerToken; then
# Only store the token if it's not in PMS
TOKEN=
else
getPlexToken
elif ! getPlexToken; then
error "Unable to get Plex token, falling back to pulic release"
PUBLIC=yes
fi
fi
else