diff --git a/pve-mod-gui-temp.sh b/pve-mod-gui-temp.sh index a79c66b..735d35c 100644 --- a/pve-mod-gui-temp.sh +++ b/pve-mod-gui-temp.sh @@ -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..."