summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-03-12 08:44:53 +0100
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-03-12 08:44:53 +0100
commit1ee9821c58d49db1ec1a877d34d4d415f8978761 (patch)
tree1061c8868336e0cc8c25776407d00706a29922df
parent6ce9e21a7a0aeba2affbd0b38bab3532af912e3e (diff)
downloadgitlab-shell-1ee9821c58d49db1ec1a877d34d4d415f8978761.tar.gz
Fix typo in Kernel::exec options
-rw-r--r--lib/gitlab_shell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb
index 82c2ef9..de73311 100644
--- a/lib/gitlab_shell.rb
+++ b/lib/gitlab_shell.rb
@@ -60,7 +60,7 @@ class GitlabShell
end
def exec_cmd(*args)
- Kernel::exec({'PATH' => ENV['PATH'], 'GL_ID' => ENV['GL_ID']}, *args, unset_env_others: true)
+ Kernel::exec({'PATH' => ENV['PATH'], 'GL_ID' => ENV['GL_ID']}, *args, unsetenv_others: true)
end
def api