diff --git a/github/check.adguard.update b/github/check.adguard.update index fed5daa..0843924 100755 --- a/github/check.adguard.update +++ b/github/check.adguard.update @@ -152,10 +152,9 @@ main() { # {{{ && error_message "adguard_current_version seems empty (${adguard_current_version})." 2 ## Test adguard_new_version - ## AND exit without error + ## AND exit with error 3 is_var_empty "${adguard_new_version}" \ - && debug_message "adguard_new_version seems empty (${adguard_new_version}), exit without error." \ - && exit 0 + && error_message "adguard_new_version seems empty (${adguard_new_version}), exit without error." 3 ## Check if the current version is the last one {{{ if [ "${adguard_current_version}" != "${adguard_new_version}" ]; then