mirror of
https://github.com/armbian/build.git
synced 2026-05-04 19:56:11 +02:00
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…
x
Reference in New Issue
Block a user