Fix minor bug: number of pids must be initialised by '0'.

This commit is contained in:
Christoph 2018-01-10 18:07:28 +01:00
parent 89502d3ad1
commit e416ed6f1c

View File

@ -233,7 +233,7 @@ then
if [[ "$?" -eq 0 ]];then
declare -i count=1
declare -i count=0
for _PID in $ZOMBIE_PIDS ; do
if [[ $count -eq 1 ]]; then
KILLED_PIDS="$_PID"