Skip to content

Commit

Permalink
kill bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pankbgos committed Dec 20, 2018
1 parent 7268607 commit 0be297e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jobx-agent/src/assembly/bin/kill.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ if [ -n "`which pstree`" ];then
do
if [ ${pid} -gt 300 ];then
if [ "${kill_model}" == "0"x ];then
echo kill ${id} >/dev/null 2>&1;
kill ${id} >/dev/null 2>&1;
else
echo kill -9 ${id} >/dev/null 2>&1;
kill -9 ${id} >/dev/null 2>&1;
fi
fi
done
Expand Down

0 comments on commit 0be297e

Please sign in to comment.