fixup! Clean up get_pids_for_kill_stop_cb cmd

This commit is contained in:
Daniel Hahler 2020-10-28 14:05:54 +01:00
parent 8a0a5471b0
commit 3003dbb2a9
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ local function get_pids_for_kill_stop_cb(c, next_cb)
' local pids="$1"; shift;'..
' local childs="$(pgrep -P "$pids" "$@")";'..
' if [ -n "$childs" ]; then'..
' echo $childs;'..
' chpids "$(echo "$childs" | paste -s -d,)" "$@";'..
' fi;'..
'};'..