test: fix brew style.
This commit is contained in:
parent
9da32e3d93
commit
0222a83406
@ -46,7 +46,7 @@ rescue Exception => e # rubocop:disable Lint/RescueException
|
||||
error_pipe.close
|
||||
ensure
|
||||
pid = Process.pid.to_s
|
||||
if which("pgrep") && which("pkill") && system("pgrep", "-P", pid, :out => File::NULL)
|
||||
if which("pgrep") && which("pkill") && system("pgrep", "-P", pid, out: File::NULL)
|
||||
$stderr.puts "Killing child processes..."
|
||||
system "pkill", "-P", pid
|
||||
sleep 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user