Commit 812edbea authored by Vitaly Lipatov's avatar Vitaly Lipatov

sh-warmup: quote

parent 7e01d87b
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
is_warmup_allowed() is_warmup_allowed()
{ {
local MEM local MEM
MEM=$($DISTRVENDOR -m) MEM="$($DISTRVENDOR -m)"
# disable warm if have no enough memory # disable warm if have no enough memory
[ $MEM -le 1024 ] && return 1 [ "$MEM" -le 1024 ] && return 1
return 0 return 0
} }
......
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