AK2: fix slot detection broken by block auto detection

This commit is contained in:
osm0sis committed 2018-07-16 13:54:49 -03:00
1 parent 915cdaff1b
commit 1811b87a19
1 file changed
+5
+5
View File
@@ -567,6 +567,11 @@ case $block in
ui_print " "; ui_print "Unable to determine $block partition. Aborting..."; exit 1;
fi;
;;
*)
if [ "$slot" ]; then
test -e "$block$slot" && block=$block$slot;
fi;
;;
esac;
## end methods