From ac8685785c06caa4a2efabd9e7cbd4c161acaf2a Mon Sep 17 00:00:00 2001 From: Oleh Astappiev <4512729+astappiev@users.noreply.github.com> Date: Wed, 12 Nov 2025 22:36:17 +0100 Subject: [PATCH] Fix version check condition --- dockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockcheck.sh b/dockcheck.sh index a3ebef0..a0150df 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -358,7 +358,7 @@ list_options() { } # Version check & initiate self update -if [[ "$LatestRelease" != "undefined" ]]; then +if [[ "$LatestSnippet" != "undefined" ]]; then if [[ "$VERSION" != "$LatestRelease" ]]; then printf "New version available! %b%s%b ⇒ %b%s%b \n Change Notes: %s \n" "$c_yellow" "$VERSION" "$c_reset" "$c_green" "$LatestRelease" "$c_reset" "$LatestChanges" if [[ "$AutoMode" == false ]]; then