mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
local variables added to cleanup
This commit is contained in:
parent
81323c393d
commit
aaf63e5525
1
inxi
1
inxi
|
@ -2358,6 +2358,7 @@ get_partition_data_advanced()
|
||||||
{
|
{
|
||||||
local a_partition_working='' dev_partition_data=''
|
local a_partition_working='' dev_partition_data=''
|
||||||
local dev_disk_label='' dev_disk_uuid='' dev_item='' dev_label='' dev_uuid=''
|
local dev_disk_label='' dev_disk_uuid='' dev_item='' dev_label='' dev_uuid=''
|
||||||
|
local mount_point=''
|
||||||
|
|
||||||
if [[ -d /dev/disk/by-label ]];then
|
if [[ -d /dev/disk/by-label ]];then
|
||||||
dev_disk_label="$( ls -l /dev/disk/by-label )"
|
dev_disk_label="$( ls -l /dev/disk/by-label )"
|
||||||
|
|
Loading…
Reference in a new issue