merging
This commit is contained in:
@@ -113,7 +113,7 @@ while true; do
|
||||
this_pid="$( get_pid "${ids[$j]}" )"
|
||||
[[ -n "$this_pid" ]] && {
|
||||
# PID exists, ask to kill
|
||||
printf "\n ${colRow}k kill?\n t terminate?${colZ}\n"
|
||||
printf "\n ${colRow}k kill\n t terminate${colZ}\n"
|
||||
read -t 600 input2
|
||||
[[ "$input2" = "k" ]] && kill $( get_pid "${ids[$j]}" )
|
||||
[[ "$input2" = "t" ]] && kill -9 $( get_pid "${ids[$j]}" )
|
||||
|
||||
Reference in New Issue
Block a user