fix(tmux): macos load avg
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Rob Watson 2023-11-23 08:36:28 +01:00
parent 2cb6ab6f37
commit bffea54717
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
set -e
if [ "$(uname -s)" = "Darwin" ]; then
uptime | grep -o "[0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+"
uptime | tr -d ',' | grep -o "[0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+"
else # Linux
cut -d " " -f 1-3 /proc/loadavg
fi