From ba9f7e0816375c452138d8f10787b12294aa3821 Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Mon, 20 Feb 2017 16:02:37 -0800 Subject: [PATCH] Fix typo --- extras/get-plex-token | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/get-plex-token b/extras/get-plex-token index 8efeaed..a01f207 100755 --- a/extras/get-plex-token +++ b/extras/get-plex-token @@ -5,7 +5,7 @@ URL_LOGIN='https://plex.tv/users/sign_in.json' getPlexToken() { if [ -n "$TOKEN" ]; then echo "Fetching token from config" - elif getPlexServerToken + elif getPlexServerToken; then echo "Fetching token from Plex server" elif [ -z "$TOKEN" -a -n "$EMAIL" -a -n "$PASS" ]; then #TOFIX