From cd735794434c272a802d421800b078f677c9c8c8 Mon Sep 17 00:00:00 2001 From: VHSgunzo Date: Sat, 24 Aug 2024 21:46:52 +0300 Subject: [PATCH] Fix select lwrun mirror --- lwrap/lwrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lwrap/lwrap b/lwrap/lwrap index a015b90..3e87d2e 100755 --- a/lwrap/lwrap +++ b/lwrap/lwrap @@ -540,8 +540,8 @@ get_lwrun_yc_ver() { set_git_lwrun_ver() { for src in yc git hf do - GIT_LWRUN_VERSION="$(get_lwrun_${src}_ver)" && \ - return 0 + GIT_LWRUN_VERSION="$(get_lwrun_${src}_ver)" + [ -n "$GIT_LWRUN_VERSION" ] && return 0 done return 1 }