From cba852425bf5f81586ea7e4ac4362b2097e06446 Mon Sep 17 00:00:00 2001 From: yorickdowne <71337066+yorickdowne@users.noreply.github.com> Date: Fri, 15 Mar 2024 11:32:55 -0400 Subject: [PATCH] Don't downgrade versions (#1784) --- ethd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethd b/ethd index b8c819a2..1e56d796 100755 --- a/ethd +++ b/ethd @@ -974,7 +974,7 @@ NEW_VARS=( CL_P2P_PORT KEY_API_PORT EL_NODE FEE_RECIPIENT EL_EXTRAS CF_DNS_API_T dodocker system prune --force -a fi - if [[ "${__keep_targets}" -eq 1 && "${__target_ver}" = "${__source_ver}" ]]; then # No changes in template, do nothing + if [[ "${__keep_targets}" -eq 1 && "${__target_ver}" -le "${__source_ver}" ]]; then # No changes in template, do nothing return 0 fi