Fuck wmic

This commit is contained in:
Dylan Araps 2016-06-13 20:42:16 +10:00
parent 4a3de0c8ae
commit 82143f4712
1 changed files with 1 additions and 1 deletions

View File

@ -1177,7 +1177,7 @@ getcpu_usage () {
"Windows")
cpu_usage="$(wmic cpu get loadpercentage /value)"
cpu_usage="${cpu_usage/LoadPercentage'='}"
cpu_usage="${cpu_usage// }"
cpu_usage="${cpu_usage//[[:space:]]}"
;;
"BSD")