mirror of
https://github.com/smxi/inxi.git
synced 2025-09-02 10:39:17 +00:00
trying a small fix for a sensors glitch
This commit is contained in:
parent
6f03cfb351
commit
0e805c7b23
1 changed files with 1 additions and 1 deletions
2
inxi
2
inxi
|
@ -5806,7 +5806,7 @@ get_sensors_output()
|
||||||
if [[ -n $sensors_path ]];then
|
if [[ -n $sensors_path ]];then
|
||||||
sensors_data="$( $sensors_path 2>/dev/null )"
|
sensors_data="$( $sensors_path 2>/dev/null )"
|
||||||
if [[ -n "$sensors_data" ]];then
|
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
|
||||||
fi
|
fi
|
||||||
echo -e "$sensors_data"
|
echo -e "$sensors_data"
|
||||||
|
|
Loading…
Add table
Reference in a new issue