Fuck wmic

This commit is contained in:
Dylan Araps 2016-06-13 20:42:16 +10:00
parent 4a3de0c8ae
commit 82143f4712

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")