Commit 82143f47 authored by Dylan Araps's avatar Dylan Araps

Fuck wmic

parent 4a3de0c8
...@@ -1177,7 +1177,7 @@ getcpu_usage () { ...@@ -1177,7 +1177,7 @@ getcpu_usage () {
"Windows") "Windows")
cpu_usage="$(wmic cpu get loadpercentage /value)" cpu_usage="$(wmic cpu get loadpercentage /value)"
cpu_usage="${cpu_usage/LoadPercentage'='}" cpu_usage="${cpu_usage/LoadPercentage'='}"
cpu_usage="${cpu_usage// }" cpu_usage="${cpu_usage//[[:space:]]}"
;; ;;
"BSD") "BSD")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment