diff --git a/src/main/kotlin/io/emeraldpay/dshackle/config/reload/ReloadConfigSetup.kt b/src/main/kotlin/io/emeraldpay/dshackle/config/reload/ReloadConfigSetup.kt index 5f3ad6b12..47ad7f164 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/config/reload/ReloadConfigSetup.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/config/reload/ReloadConfigSetup.kt @@ -43,9 +43,7 @@ class ReloadConfigSetup( try { log.info("Reloading config...") - val reloaded = reloadConfig() - - if (reloaded) { + if (reloadConfig()) { log.info("Config is reloaded") } else { log.info("There is nothing to reload, config is the same")