Browse Source

Use local var

Ernesto Nicolás Carrea 5 years ago
parent
commit
5f8f3d4d95
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/package/install/mail-server.inc

+ 1 - 1
bin/package/install/mail-server.inc

@@ -1,7 +1,7 @@
 #!/bin/bash
 
 hestia_package_install_mail-server() {
-    memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
+    local memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
 
     if [ "$param_help" ]; then
         usage