diff --git a/plexupdate-core b/plexupdate-core index f7bbcce..efd40e7 100755 --- a/plexupdate-core +++ b/plexupdate-core @@ -179,7 +179,8 @@ getLocalSHA() { # RNNG running() { # If a server is unclaimed, it probably doesn't have TLS enabled either - local DATA="$(wget -q -O - http://$1:$2/status/sessions)" + local DATA + DATA="$(wget -q -O - http://$1:$2/status/sessions)" local RET=$? if [ ${RET} -eq 6 ]; then