Skip to content

Commit 335997c

Browse files
committed
Fix wrong OSX/Linux condition for memory calculation
1 parent dc81200 commit 335997c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/mem.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ print_mem() {
4444
local size_format
4545

4646
if is_osx; then
47-
mem_usage=$(get_mem_usage_linux)
48-
elif is_linux; then
4947
mem_usage=$(get_mem_usage_osx)
48+
elif is_linux; then
49+
mem_usage=$(get_mem_usage_linux)
5050
fi
5151

5252
# get_mem_usage* function returns values in KiB

0 commit comments

Comments
 (0)