trying a small fix for a sensors glitch

This commit is contained in:
inxi-svn 2011-07-20 21:23:00 +00:00
parent 6f03cfb351
commit 0e805c7b23

2
inxi
View file

@ -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"