diff options
Diffstat (limited to 'core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report')
-rwxr-xr-x | core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report b/core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report index bc050628..3fd9ffe5 100755 --- a/core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report +++ b/core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-report @@ -55,7 +55,7 @@ report_hardware_info() { subnet="$( ip -o -f inet addr show "$primary" | awk '/scope global/ {print $4}' )" # Finally, new json-based reporting jsonfile="$( mktemp )" - if ! python3 /opt/openslx/system-check/collect_hw_info_json.py > "$jsonfile"; then + if ! python3 /opt/openslx/system-check/collect_hw_info_json.py -p > "$jsonfile"; then echo -n "" > "$jsonfile" fi # just assume the uuid/mac dumped are valid here (its checked often enough :)) |