partitioning: Declare rootpart as local variable
The others like `uefipart` and `bootpart` are also defined as local var. Establish consistency.
This commit is contained in:
parent
1092d60d3e
commit
b8dbe607e5
@ -121,7 +121,7 @@ function prepare_partitions() {
|
||||
fi
|
||||
# Check if we need root partition
|
||||
[[ $ROOTFS_TYPE != nfs ]] &&
|
||||
rootpart=$((next++))
|
||||
local rootpart=$((next++))
|
||||
|
||||
display_alert "calculated rootpart" "rootpart: ${rootpart}" "debug"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user