Skip to content

Commit

Permalink
Fix wrong OSX/Linux condition for memory calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
samoshkin committed Nov 21, 2017
1 parent dc81200 commit 335997c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/mem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ print_mem() {
local size_format

if is_osx; then
mem_usage=$(get_mem_usage_linux)
elif is_linux; then
mem_usage=$(get_mem_usage_osx)
elif is_linux; then
mem_usage=$(get_mem_usage_linux)
fi

# get_mem_usage* function returns values in KiB
Expand Down

0 comments on commit 335997c

Please sign in to comment.