diff options
Diffstat (limited to 'extras')
-rw-r--r-- | extras/volgen/CreateVolfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volgen/CreateVolfile.py b/extras/volgen/CreateVolfile.py index 8eb4be8f853..052ed987a94 100644 --- a/extras/volgen/CreateVolfile.py +++ b/extras/volgen/CreateVolfile.py @@ -21,7 +21,7 @@ import subprocess num_replica = 2 num_stripe = 4 #Cachesize calculator -cache_size = "`echo $[ $(grep 'MemTotal' /proc/meminfo | sed 's/[^0-9]//g') / 5120 ]`" +cache_size = "`echo $(( $(grep 'MemTotal' /proc/meminfo | sed 's/[^0-9]//g') / 5120 ))`" class CreateVolfile: |