From 3266b7667b97e4e1f3a61ced6f097b049f3959c0 Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Sun, 26 Feb 2017 17:58:06 -0800 Subject: [PATCH] Warn users if fetching Plex token fails in installer --- extras/installer.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extras/installer.sh b/extras/installer.sh index 03aab8a..9d7ebc7 100755 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -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