bug fix, forgot -n

This commit is contained in:
inxi-svn 2011-06-24 22:27:06 +00:00
parent e6b7f6f682
commit 507687cb63

2
inxi
View file

@ -5692,7 +5692,7 @@ get_sensors_data()
get_sensors_output()
{
local sensors_path=$( type -p sensors )
if [[ $sensors_path ]];then
if [[ -n $sensors_path ]];then
$sensors_path 2>/dev/null
fi
}