yanger: hardware: Do not crash if failing to read /run/system.json

This commit is contained in:
Mattias Walström
2026-01-09 11:08:32 +01:00
parent 651a274470
commit 8e9fd27e24
+1 -1
View File
@@ -668,7 +668,7 @@ def wifi_radio_components():
def operational():
systemjson = HOST.read_json("/run/system.json")
systemjson = HOST.read_json("/run/system.json", {})
return {
"ietf-hardware:hardware": {