diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-08-31 16:15:41 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-08-31 16:15:41 +0200 |
commit | 780bac1026f96d68d8c658ead605c61a5b018f62 (patch) | |
tree | d1f60473fa03632c2e5d8ef7c4c5cd67569aaceb /lib/support | |
parent | 90b1ecfa011d31c0f24cfcbb94a7b184e485e4fd (diff) | |
download | gitlab-ce-780bac1026f96d68d8c658ead605c61a5b018f62.tar.gz |
Be more defensive when running 'kill'gitlab-git-http-server
Diffstat (limited to 'lib/support')
-rwxr-xr-x | lib/support/init.d/gitlab | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/support/init.d/gitlab b/lib/support/init.d/gitlab index f2923314d48..a80e7e77430 100755 --- a/lib/support/init.d/gitlab +++ b/lib/support/init.d/gitlab @@ -270,7 +270,7 @@ stop_gitlab() { fi if [ "$gitlab_git_http_server_status" = "0" ]; then echo "Shutting down gitlab-git-http-server" - kill $(cat $gitlab_git_http_server_pid_path) + kill -- $(cat $gitlab_git_http_server_pid_path) fi if [ "$mail_room_enabled" = true ] && [ "$mail_room_status" = "0" ]; then echo "Shutting down GitLab MailRoom" |