tomishinets.v 5 년 전
부모
커밋
01c6f1f6f5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      healthcheck.sh

+ 1 - 1
healthcheck.sh

@@ -31,7 +31,7 @@ else
     unset IFS
     for i in ${!sorted[*]}
     do
-      if [[ ${last_node_oct} -eq ${sorted[i]} ]];then time_to_dead=$((i*180+curtime));echo ${time_to_dead} > /tmp/dead;fi
+      if [[ ${last_node_oct} -eq ${sorted[i]} ]];then time_to_dead=$((i*180+curtime));echo "${time_to_dead}" > /tmp/dead;fi
     done
   fi
 fi