mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
trying a small fix for a sensors glitch
This commit is contained in:
parent
6f03cfb351
commit
0e805c7b23
2
inxi
2
inxi
|
@ -5806,7 +5806,7 @@ get_sensors_output()
|
|||
if [[ -n $sensors_path ]];then
|
||||
sensors_data="$( $sensors_path 2>/dev/null )"
|
||||
if [[ -n "$sensors_data" ]];then
|
||||
sensors_data="$sensors_data\n\n" # make sure the file ends in newlines
|
||||
sensors_data="$sensors_data\n\n###" # make sure the file ends in newlines
|
||||
fi
|
||||
fi
|
||||
echo -e "$sensors_data"
|
||||
|
|
Loading…
Reference in a new issue