Commit 780bac10 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Be more defensive when running 'kill'

parent 90b1ecfa
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment