mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
small tweak, made hardcoded /proc/mdstat use global path variable.
This commit is contained in:
parent
62e0e35b79
commit
7641bd1ca6
2
inxi
2
inxi
|
@ -8001,7 +8001,7 @@ print_raid_data()
|
||||||
|
|
||||||
if [[ $B_MDSTAT_FILE != 'true' ]];then
|
if [[ $B_MDSTAT_FILE != 'true' ]];then
|
||||||
if [[ $B_SHOW_BASIC_RAID != 'true' ]];then
|
if [[ $B_SHOW_BASIC_RAID != 'true' ]];then
|
||||||
a_raid_data[0]="${C1}Error${SEP3}${C2} No /proc/mdstat file detected!"
|
a_raid_data[0]="${C1}Error${SEP3}${C2} No $FILE_MDSTAT file detected!"
|
||||||
else
|
else
|
||||||
b_print_lines='false'
|
b_print_lines='false'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue