diff --git a/bin/reproducible_node_health_check.sh b/bin/reproducible_node_health_check.sh index ac92339bd8f13206cc711db4f1c4a7852db685bf..79973a73916a26eec7b6c83521712ec579746f9c 100755 --- a/bin/reproducible_node_health_check.sh +++ b/bin/reproducible_node_health_check.sh @@ -102,7 +102,7 @@ if "$NODE_RUN_IN_THE_FUTURE"; then echo "Warning: today $HOSTNAME came back to the present: $(date -u)." DIRTY=true elif [ "$year" -eq "$((real_year + 1))" ] || \ - [ "$year" -eq "$((real_year + 2))" -a "$(date +%m)" -eq 1 ]; then + [ "$year" -eq "$((real_year + 2))" -a "$(date +%m)" -le 2 ]; then echo "Good, today is the right future: $(date -u)." else echo "Warning: today is the wrong future: $(date -u)."