tomishinets.v hace 5 años
padre
commit
01c6f1f6f5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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