Basic error missing $ on variable
Bug #1815193 reported by
Yann 'Ze' Richard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-utils |
Opinion
|
Undecided
|
Unassigned |
Bug Description
Hi,
The bin/growpart bash script missing a $ before variable name.
Best Regards.
To post a comment you must log in.
Hi, thanks for taking the time to report this bug. Sorry its taken woefully long for me to see it.
I'm going to set this as 'opinion'. It is valid shell as it is:
- sector_ size=$( (disk_size/ $sector_ num)) size=$( ($disk_ size/$sector_ num))
+ sector_
those are essentially equivalent. and if I were going to change it, I would remove the '$' from sector_num rather than adding one to disk_size.
but it *does* work as it is.