mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08: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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user