fixes
This commit is contained in:
parent
fd8ad9799b
commit
aac91e9a55
@ -13,7 +13,7 @@ function g_kill_all_background_jobs {
|
||||
local g_pid
|
||||
for g_pid in "${g_pids[@]}"
|
||||
do
|
||||
read g_proc < <(tr "\0" " " < /proc/${f_pid}/cmdline)
|
||||
read g_proc < <(tr "\0" " " < /proc/${g_pid}/cmdline)
|
||||
[ "$g_proc" = "$g_cmdline" ] && kill -9 $g_pid >/dev/null 2>&1
|
||||
done
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user