fix return to satisfy set -e
This commit is contained in:
parent
944d87bb8d
commit
85605dffdc
@ -124,7 +124,7 @@ configure_node_info() {
|
|||||||
if [[ "$DEBUG_LM_SENSORS" -eq 1 ]]; then
|
if [[ "$DEBUG_LM_SENSORS" -eq 1 ]]; then
|
||||||
sensorsOutput=$(cat "$DEBUG_LM_SENSORS_FILE")
|
sensorsOutput=$(cat "$DEBUG_LM_SENSORS_FILE")
|
||||||
else
|
else
|
||||||
sensorsOutput=$(sensors -j 2>/dev/null)
|
sensorsOutput=$(sensors -j 2>/dev/null) || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local trimmedSensorsOutput
|
local trimmedSensorsOutput
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user