From f141f03f25843b7ce91c2618c89b2353a894cf95 Mon Sep 17 00:00:00 2001 From: FriendlyNeighborhoodShane Date: Tue, 10 Jan 2023 00:34:16 +0530 Subject: [PATCH] update-binary: fix syntax --- src/META-INF/com/google/android/update-binary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/META-INF/com/google/android/update-binary b/src/META-INF/com/google/android/update-binary index 2c4673a..61929cb 100644 --- a/src/META-INF/com/google/android/update-binary +++ b/src/META-INF/com/google/android/update-binary @@ -128,9 +128,9 @@ $bootmode || { if ismntpoint "$mntpoint"; then log "Mountpoint $mntpoint already mounted"; continue; - else if mount -o ro "$mntpoint"; then + elif mount -o ro "$mntpoint"; then log "Mountpoint $mntpoint mounted (auto)"; - else if [ "$sysblk" ] && mount -o ro "$sysblk" "$mntpoint"; then + elif [ "$sysblk" ] && mount -o ro "$sysblk" "$mntpoint"; then log "Mountpoint $mntpoint mounted (manual)"; else log "Mountpoint $mntpoint could not be mounted";