diff --git a/reinstall-magisk-on-lineageos b/reinstall-magisk-on-lineageos index d3da336..e6364b1 100755 --- a/reinstall-magisk-on-lineageos +++ b/reinstall-magisk-on-lineageos @@ -50,7 +50,7 @@ get_build_url() { } check_exists_latest_lineageos_build() { - if [[ -f /tmp/lineageos.zip ]]; then + if [[ -f "/tmp/lineageos.zip" ]]; then # The --location lets curl follow the redirection. print_message "$(get_build_url)?sha256" curl --location "$(get_build_url)?sha256" --output /tmp/lineageos.sha256