sysinfo: add missing `echo`

This commit is contained in:
creme 2020-05-24 10:37:22 +02:00
parent 5e671775b3
commit a16fe331c2
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ cat<<EOM > "$TMP_JSON"
},
"system": {
"os": "$(lsb_release -sd)",
"uptime": "$(UP=$(uptime -p) ; ${UP//up/})",
"uptime": "$(UP=$(uptime -p) ; echo ${UP//up/})",
"load": "$(LOAD=$(uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3 $4 $5 }') ; echo ${LOAD//,/ })",
"uname": "$(uname -a)",
"board": "$(hostnamectl status | awk '/Chassis/ {print $2}')",