Check execution status of the sensors command
This commit is contained in:
parent
d43912a64f
commit
0bfab4688a
@ -80,6 +80,9 @@ function install_packages {
|
||||
|
||||
function configure {
|
||||
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
|
||||
msg "\nDetecting support for HDD/SDD temperature sensors..."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user