From 0097532f4a6efe6da744e580a5292252b12b3af9 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Thu, 2 Jul 2020 12:33:32 -0700 Subject: [PATCH] Fix startup script --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 1dfe749b..e9384866 100755 --- a/start.sh +++ b/start.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash if [[ "$TAUTULLI_DOCKER" = "True" ]]; then - if [[ -v PUID && -v PGID ]]; then + if [[ -n $PUID && -n $PGID ]]; then getent group "$PGID" 2>&1 > /dev/null || groupadd -g "$PGID" tautulli getent passwd "$PUID" 2>&1 > /dev/null || useradd -r -u "$PUID" -g "$PGID" tautulli