Commit 21531e90 authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

Quote pgrep arguments

parent d31d173c
......@@ -48,7 +48,7 @@ module GitLab
module_function :deep_transform_keys_in_object
def pgrep(pattern)
`pgrep -f #{pattern}`.split("\n")
`pgrep -f "#{pattern}"`.split("\n")
end
module_function :pgrep
......
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