AK2: fix customdd detection logic
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -39,7 +39,7 @@ split_boot() {
|
||||
if [ ! -e "$(echo $block | cut -d\ -f1)" ]; then
|
||||
ui_print " "; ui_print "Invalid partition. Aborting..."; exit 1;
|
||||
fi;
|
||||
if [ "$(echo $block | cut -d\ -f2-)" ]; then
|
||||
if [ "$(echo $block | grep ' ')" ]; then
|
||||
block=$(echo $block | cut -d\ -f1);
|
||||
customdd=$(echo $block | cut -d\ -f2-);
|
||||
elif [ ! "$customdd" ]; then
|
||||
|
||||
Reference in new issue
Block a user