Browse Source

Be silent

Ernesto Nicolás Carrea 5 years ago
parent
commit
714514e6f6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bin/module/nginx/remove.inc

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

@@ -11,8 +11,8 @@ hestia_module_nginx_remove() {
 
     echo "Removing Nginx module..."
 
-    osal_service_stop $OSAL_SERVICE_NGINX
-    osal_service_disable $OSAL_SERVICE_NGINX
+    osal_service_stop $OSAL_SERVICE_NGINX > /dev/null 2>&1
+    osal_service_disable $OSAL_SERVICE_NGINX > /dev/null 2>&1
 
     hestia_config_backup 'nginx-remove' $OSAL_PATH_NGINX_CONF