Skip to content

Commit 6714197

Browse files
committed
Update startup script to ensure license file is readable
1 parent df29a66 commit 6714197

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/start-gitlab.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ if test -n "${GITLAB_LICENSE_FILE}"; then
99
_license_dir=${GITLAB_LICENSE_DIR:-.license}
1010
_license_file=${GITLAB_LICENSE_FILE:-JulienPivotto.gitlab-license}
1111

12-
if ! test -f "${_license_dir}/${_license_file}"
12+
if ! test -r "${_license_dir}/${_license_file}"
1313
then
14-
echo "No license"
14+
echo "No license at ${_license_dir}/${_license_file}"
1515
exit 1
1616
fi
1717
_gitlab_image=gitlab/gitlab-ee

0 commit comments

Comments
 (0)