diff --git a/reinstall-magisk-on-lineageos b/reinstall-magisk-on-lineageos index e6364b1..711b05d 100755 --- a/reinstall-magisk-on-lineageos +++ b/reinstall-magisk-on-lineageos @@ -57,8 +57,9 @@ check_exists_latest_lineageos_build() { hash1=$( awk '{print $1}' /tmp/lineageos.sha256 ) hash2=$( sha256sum /tmp/lineageos.zip | awk '{print $1}' ) [[ -n $hash1 && -n $hash2 && $hash1 == $hash2 ]] + return fi - return + false } download_latest_lineageos_build() {