lib/contrast/utils/os.rb in contrast-agent-4.6.0 vs lib/contrast/utils/os.rb in contrast-agent-4.7.0

- old
+ new

@@ -25,10 +25,11 @@ # check if service was killed and is a zombie process # returns an array of zombie process PIDs as strings; empty array if there are none def zombie_pids with_contrast_scope do - zombie_pid_list = `ps aux | grep contrast-servic[e] | grep Z | awk '{print $2}'` # retrieve pid of service processes + # retrieve pid of service processes + zombie_pid_list = `ps aux | grep contrast-servic[e] | grep Z | awk '{print $2}'` zombie_pid_list.split("\n") end end end end