mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 17:07:49 +00:00
bug fix, forgot -n
This commit is contained in:
parent
e6b7f6f682
commit
507687cb63
2
inxi
2
inxi
|
@ -5692,7 +5692,7 @@ get_sensors_data()
|
||||||
get_sensors_output()
|
get_sensors_output()
|
||||||
{
|
{
|
||||||
local sensors_path=$( type -p sensors )
|
local sensors_path=$( type -p sensors )
|
||||||
if [[ $sensors_path ]];then
|
if [[ -n $sensors_path ]];then
|
||||||
$sensors_path 2>/dev/null
|
$sensors_path 2>/dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue