Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-29 18:09:12 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-29 18:09:12 +0300
commit4dfd78cb55b08ab20124187d1aab6a431da3e302 (patch)
treea14b0086833e11b88bc023455b7c1bc8d8dbc5f4 /bin
parent5a7d44a955572b912d13ba8949e976f61b5c7f1b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mail_room3
-rwxr-xr-xbin/web_unicorn3
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/mail_room b/bin/mail_room
index 2539e3d388e..be608be4229 100755
--- a/bin/mail_room
+++ b/bin/mail_room
@@ -9,7 +9,8 @@ mail_room_config="$app_root/config/mail_room.yml"
get_mail_room_pid()
{
- local pid=$(cat $mail_room_pidfile)
+ local pid
+ pid=$(cat $mail_room_pidfile)
if [ -z "$pid" ] ; then
echo "Could not find a PID in $mail_room_pidfile"
exit 1
diff --git a/bin/web_unicorn b/bin/web_unicorn
index ecd0bbd10b0..41e2ac44351 100755
--- a/bin/web_unicorn
+++ b/bin/web_unicorn
@@ -9,7 +9,8 @@ unicorn_cmd="bundle exec unicorn_rails -c $unicorn_config -E $RAILS_ENV"
get_unicorn_pid()
{
- local pid=$(cat $unicorn_pidfile)
+ local pid
+ pid=$(cat $unicorn_pidfile)
if [ -z "$pid" ] ; then
echo "Could not find a PID in $unicorn_pidfile"
exit 1