diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-12 16:37:15 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-12 16:37:15 +0200 |
| commit | 323545fc87a5527867b9f276d8efc29a27a1468d (patch) | |
| tree | 4d283c1af0252aab143af806652964d0fe151348 | |
| parent | cf971ba87bf7bfbbd5a783958e644ad75542920a (diff) | |
| download | gitlab-shell-323545fc87a5527867b9f276d8efc29a27a1468d.tar.gz | |
Use KILL instead of TERM
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| -rw-r--r-- | lib/gitlab_projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
