Merge pull request #24 from Meliox/integration-eremem
Check execution status of the sensors command
This commit is contained in:
commit
d9e6a9c539
@ -80,6 +80,9 @@ function install_packages {
|
|||||||
|
|
||||||
function configure {
|
function configure {
|
||||||
local sensorOutput=$(sensors -j)
|
local sensorOutput=$(sensors -j)
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
err "Sensor output error.\n\nCommand output:\n${sensorOutput}\n\nExiting...\n"
|
||||||
|
fi
|
||||||
|
|
||||||
# Check if HDD/SSD data is installed
|
# Check if HDD/SSD data is installed
|
||||||
msg "\nDetecting support for HDD/SDD temperature sensors..."
|
msg "\nDetecting support for HDD/SDD temperature sensors..."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user