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