Ernesto Nicolás Carrea 5 years ago
parent
commit
9f45a94edc
2 changed files with 3 additions and 3 deletions
  1. 1 1
      bin/module/vsftpd/install.inc
  2. 2 2
      bin/module/vsftpd/remove.inc

+ 1 - 1
bin/module/vsftpd/install.inc

@@ -31,7 +31,7 @@ hestia_module_vsftpd_install() {
 
     osal_kv_write $HESTIA/conf/hestia.conf 'FTP_SYSTEM' 'vsftpd'
     osal_kv_write $HESTIA_CONF_MODULES/ftp.conf 'installed' '1'
-    osal_kv_write $HESTIA_CONF_MODULES/ftp.conf 'description' 'Hestia FTP (Vsftpd) module'
+    osal_kv_write $HESTIA_CONF_MODULES/ftp.conf 'description' 'Hestia FTP (vsftpd) module'
     osal_kv_write $HESTIA_CONF_MODULES/ftp.conf 'enabled' '1'
     osal_kv_write $HESTIA_CONF_MODULES/ftp.conf 'variant' 'vsftpd'
     osal_kv_write $HESTIA_CONF_MODULES/ftp.conf 'version' '1'

+ 2 - 2
bin/module/vsftpd/remove.inc

@@ -9,8 +9,8 @@ hestia_module_vsftpd_remove() {
         exit 1
     fi
 
-    ftp_variant=$(hestia_module_getvariant ftp)
-    if [ "$ftp_variant" != 'vsftpd' ]; then
+    module_variant=$(hestia_module_getvariant ftp)
+    if [ "$module_variant" != 'vsftpd' ]; then
         echo "The installed FTP module is not vsftpd. See 'hestia module info ftp'."
         exit 1
     fi