Skip to content

Commit b5f11ee

Browse files
committed
Invalid variable
1 parent faa2a12 commit b5f11ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/support/init.d/gitlab

+3-3
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ start_gitlab() {
291291
fi
292292

293293
if [ "$gitlab_workhorse_status" = "0" ]; then
294-
echo "The GitLab Workhorse is already running with pid $spid, not restarting"
294+
echo "The GitLab Workhorse is already running with pid $hpid, not restarting"
295295
else
296296
# No need to remove a socket, gitlab-workhorse does this itself.
297297
# Because gitlab-workhorse has multiple executables we need to fix
@@ -313,7 +313,7 @@ start_gitlab() {
313313

314314
if [ "$gitlab_pages_enabled" = true ]; then
315315
if [ "$gitlab_pages_status" = "0" ]; then
316-
echo "The GitLab Pages is already running with pid $spid, not restarting"
316+
echo "The GitLab Pages is already running with pid $gppid, not restarting"
317317
else
318318
$app_root/bin/daemon_with_pidfile $gitlab_pages_pid_path \
319319
$gitlab_pages_dir/gitlab-pages $gitlab_pages_options \
@@ -421,7 +421,7 @@ print_status() {
421421
fi
422422
if [ "$gitlab_pages_enabled" = true ]; then
423423
if [ "$gitlab_pages_status" = "0" ]; then
424-
echo "The GitLab Pages with pid $mpid is running."
424+
echo "The GitLab Pages with pid $gppid is running."
425425
else
426426
printf "The GitLab Pages is \033[31mnot running\033[0m.\n"
427427
fi

0 commit comments

Comments
 (0)