mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
code cleanup
This commit is contained in:
parent
e41eeea227
commit
8768c2b0dd
2
inxi
2
inxi
|
@ -3963,7 +3963,6 @@ print_hard_disk_data()
|
|||
dev_data="/dev/${a_hdd_working[0]} "
|
||||
size_data=" ${a_hdd_working[1]}"
|
||||
hdd_name="${a_hdd_working[2]}"
|
||||
fi
|
||||
|
||||
if [[ $B_EXTRA_DATA == 'true' && -n $dev_data ]];then
|
||||
hdd_temp_data=$( get_hdd_temp_data "$dev_data" )
|
||||
|
@ -3975,7 +3974,6 @@ print_hard_disk_data()
|
|||
fi
|
||||
fi
|
||||
|
||||
if [[ $B_SHOW_DISK == 'true' ]];then
|
||||
hdd_string="$usb_data$dev_data$hdd_name$size_data$hdd_temp_data"
|
||||
hdd_model="${hdd_model}${C1}$(($i+1)):${C2} $hdd_string "
|
||||
# printing line one, then every other line, and after, if leftovers, print that line.
|
||||
|
|
Loading…
Reference in a new issue