From 323545fc87a5527867b9f276d8efc29a27a1468d Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 12 Mar 2014 16:37:15 +0200 Subject: Use KILL instead of TERM Signed-off-by: Dmitriy Zaporozhets --- lib/gitlab_projects.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gitlab_projects.rb') diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index d0b1e1f..38a3a7d 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -106,7 +106,7 @@ class GitlabProjects Process.wait(pid) end rescue Timeout::Error - Process.kill('TERM', pid) + Process.kill('KILL', pid) $logger.error "Importing project #{@project_name} from <#{@source}> failed due to timeout." FileUtils.rm_rf(full_path) false -- cgit v1.2.1