diff --git a/scripts/halium b/scripts/halium index 7511c2a..cf1d49f 100644 --- a/scripts/halium +++ b/scripts/halium @@ -487,7 +487,7 @@ mountroot() { mount -o discard,$OPTIONS $path /tmpmnt # setup super partition if exists - if [ -n "/dev/disk/by-partlabel/super" ]; then + if [ -b /dev/disk/by-partlabel/super ]; then tell_kmsg "trying to parse and dmsetup subpartitions from super partition" /sbin/parse-android-dynparts /dev/disk/by-partlabel/super | sh fi