From 5e31e3a77923d6623d03f759712b436b22b2021b Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Wed, 15 Feb 2017 18:04:28 +0530 Subject: [PATCH] use simpler default value for gitlab_user --- debian/grantpriv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/grantpriv.sh b/debian/grantpriv.sh index 354a44cfeb..63ce624afd 100755 --- a/debian/grantpriv.sh +++ b/debian/grantpriv.sh @@ -4,7 +4,7 @@ set -e dbname=gitlab_production # Take gitlab_user from envornment variable or use gitlab -test -n "${gitlab_user:-}" || gitlab_user="gitlab" +gitlab_user=${gitlab_user:-gitlab} # If gitlab user cannot access gitlab_production, # then it means the gitlab role does not exist