diff options
-rwxr-xr-x | buildos | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1027,6 +1027,7 @@ declare -A toolchain_cursors # Latest systemd journal cursor. # Monitoring loop. # +sensors=true count=0 while true; do @@ -1345,7 +1346,13 @@ EOF done fi - sensors -A + if [ "$sensors" ]; then + if ! sensors -A; then + info "unable to query sensors, disabling" + sensors= + fi + fi + info "monitoring..." sleep 60 done |