Commit 780c30de authored by Dylan Araps's avatar Dylan Araps

CPU Usage: Wildcard case statement

parent 5c7ab931
......@@ -863,7 +863,7 @@ get_cpu_usage() {
cpu_usage="${cpu_usage//[[:space:]]}"
;;
"Linux" | "Mac OS X" | "iPhone OS" | "BSD" | "Solaris" | "GNU")
*)
# Get cores if unset
if [[ -z "$cores" ]]; then
case "$os" in
......
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